2021-04-22 11:06:27 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=repo
|
2021-04-26 18:28:17 +02:00
|
|
|
_reponame=arch
|
2021-04-22 11:06:27 +02:00
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-06-12 22:50:23 +02:00
|
|
|
pkgver=0.2.10
|
2021-05-24 23:11:04 +02:00
|
|
|
pkgrel=2
|
2021-04-22 11:06:27 +02:00
|
|
|
pkgdesc="Bash script to manage remote Arch Linux repository"
|
|
|
|
arch=('any')
|
2021-04-26 18:25:29 +02:00
|
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
2021-04-22 11:06:27 +02:00
|
|
|
license=('MIT')
|
2021-06-12 22:50:23 +02:00
|
|
|
depends=('openssh' 'aurutils') # arch-repo-vercmp uses "aur vercmp" which is part of "aurutils"
|
2021-04-22 13:37:47 +02:00
|
|
|
makedepends=('git')
|
2021-04-22 11:06:27 +02:00
|
|
|
source=("git+${url}.git")
|
|
|
|
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-26 14:45:18 +02:00
|
|
|
install -Dm0555 arch-repo-vercmp.sh "$pkgdir"/usr/bin/arch-repo-vercmp
|
2021-04-22 11:19:15 +02:00
|
|
|
|
2021-05-24 15:09:45 +02:00
|
|
|
install -Dm0644 lib/util.sh "$pkgdir"/usr/lib/"${pkgname}"/util.sh
|
|
|
|
install -Dm0644 lib/pkginfo.sh "$pkgdir"/usr/lib/"${pkgname}"/pkginfo.sh
|
|
|
|
install -Dm0644 lib/pkgver.sh "$pkgdir"/usr/lib/"${pkgname}"/pkgver.sh
|
|
|
|
|
2021-05-03 16:41:33 +02:00
|
|
|
install -Dm0644 -o0 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
2021-04-22 11:06:27 +02:00
|
|
|
}
|