mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
35 lines
872 B
Bash
35 lines
872 B
Bash
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
_pkgname=repo
|
|
_reponame=arch-pkg
|
|
pkgname="de-p1st-$_pkgname"
|
|
pkgver=0.0.9
|
|
pkgrel=1
|
|
pkgdesc="Bash script to manage remote Arch Linux repository"
|
|
arch=('any')
|
|
url="https://git.privacy1st.de/langfingaz/${_reponame}"
|
|
license=('MIT')
|
|
groups=()
|
|
depends=('openssh' 'bash')
|
|
makedepends=('git')
|
|
optdepends=()
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
changelog=
|
|
source=("git+${url}.git")
|
|
noextract=()
|
|
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 -Dm0644 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
|
chown 0:0 "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg
|
|
}
|