This commit is contained in:
Daniel Langbein 2021-04-22 11:19:15 +02:00
parent 6f20d49c96
commit 89db13eb8f
2 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=repo
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgver=0.0.3
pkgrel=1
pkgdesc="Bash script to manage remote Arch Linux repository"
arch=('any')
@ -26,7 +26,9 @@ sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0544 arch-repo-push-new.sh "$pkgdir"/usr/bin/arch-repo-push-new
install -Dm0544 arch-repo-receive-new.sh "$pkgdir"/usr/bin/arch-repo-receive-new
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 -Dm0644 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
chown 0:0 "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
}

View File

@ -1,4 +1,8 @@
# host from ssh configuration which logs in
# as correct user to have write access to
# REMOTE_PKG_DIR
REMOTE_SSH_HOST=rootnas
LOCAL_PKG_DIR=/home/custompkgs
REMOTE_PKG_DIR=/mnt/data/live/arch-repo
REMOTE_DB_NAME=de-p1st