initial PKGBUILD
This commit is contained in:
commit
af9a866774
1 changed files with 26 additions and 0 deletions
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Maximilian Keßler <git@maximilian-kessler.de>
|
||||
#
|
||||
|
||||
pkgname=deploy-arch-repo
|
||||
pkgver=r123.152fe36
|
||||
pkgrel=1
|
||||
pkgdesc="Deploy packages to remote arch repo via rsync"
|
||||
arch=(any)
|
||||
url="https://git.abstractnonsen.se/arch/deploy-arch-repo"
|
||||
license=("MIT")
|
||||
depends=("rsync" "pacman")
|
||||
makedepends=("git")
|
||||
source=("$pkgname::git+https://git.abstractnonsen.se/arch/deploy-arch-repo")
|
||||
sha512sums=("SKIP")
|
||||
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
cp deploy-arch-repo /usr/bin
|
||||
}
|
Loading…
Reference in a new issue