arch-repo/PKGBUILD

29 lines
1.0 KiB
Bash
Raw Permalink Normal View History

2022-07-16 17:02:02 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=repo
2022-07-16 17:04:50 +02:00
_reponame=arch-repo
2022-07-16 17:02:02 +02:00
pkgname="de-p1st-$_pkgname"
2022-07-16 17:04:50 +02:00
pkgver=0.2.14
2022-07-16 17:02:02 +02:00
pkgrel=1
pkgdesc="Bash script to manage remote Arch Linux repository"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=('openssh' 'rsync' 'aurutils') # arch-repo-vercmp uses "aur vercmp" which is part of "aurutils"
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
2022-07-16 17:04:50 +02:00
cd "${_reponame}"
2022-07-16 17:02:02 +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
install -Dm0555 arch-repo-vercmp.sh "$pkgdir"/usr/bin/arch-repo-vercmp
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
install -Dm0644 -o0 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
}