2021-04-22 11:06:27 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=repo
|
|
|
|
_reponame=arch-pkg
|
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-04-25 20:11:13 +02:00
|
|
|
pkgver=0.1.0
|
2021-04-22 13:37:47 +02:00
|
|
|
pkgrel=1
|
2021-04-22 11:06:27 +02:00
|
|
|
pkgdesc="Bash script to manage remote Arch Linux repository"
|
|
|
|
arch=('any')
|
|
|
|
url="https://git.privacy1st.de/langfingaz/${_reponame}"
|
|
|
|
license=('MIT')
|
|
|
|
groups=()
|
|
|
|
depends=('openssh' 'bash')
|
2021-04-22 13:37:47 +02:00
|
|
|
makedepends=('git')
|
2021-04-22 11:06:27 +02:00
|
|
|
optdepends=()
|
|
|
|
provides=()
|
|
|
|
conflicts=()
|
|
|
|
replaces=()
|
|
|
|
backup=()
|
|
|
|
options=()
|
|
|
|
install=
|
|
|
|
changelog=
|
|
|
|
source=("git+${url}.git")
|
|
|
|
noextract=()
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
|
2021-04-22 11:19:15 +02:00
|
|
|
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
|
|
|
|
|
2021-04-22 11:06:27 +02:00
|
|
|
install -Dm0644 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
2021-04-22 11:19:15 +02:00
|
|
|
chown 0:0 "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
2021-04-22 11:06:27 +02:00
|
|
|
}
|