mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
25 lines
811 B
Bash
25 lines
811 B
Bash
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
_pkgname=repo
|
|
_reponame=arch
|
|
pkgname="de-p1st-$_pkgname"
|
|
pkgver=0.2.1
|
|
pkgrel=1
|
|
pkgdesc="Bash script to manage remote Arch Linux repository"
|
|
arch=('any')
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
license=('MIT')
|
|
depends=('openssh' 'aurutils') # arch-repo-vercmp uses "aur vercmp" which is part of "aurutils"
|
|
makedepends=('git')
|
|
source=("git+${url}.git")
|
|
sha256sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
install -Dm0555 arch-repo-push-new.sh "$pkgdir"/usr/bin/arch-repo-push-new
|
|
install -Dm0555 arch-repo-receive-new.sh "$pkgdir"/usr/bin/arch-repo-receive-new
|
|
install -Dm0555 arch-repo-vercmp.sh "$pkgdir"/usr/bin/arch-repo-vercmp
|
|
|
|
install -Dm0644 -o0 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
|
}
|