deploy-arch-repo-git/PKGBUILD

28 lines
584 B
Text
Raw Normal View History

2023-10-21 14:57:57 +02:00
# Maintainer: Maximilian Keßler <git@maximilian-kessler.de>
#
pkgname=deploy-arch-repo
2023-10-21 15:28:13 +02:00
pkgver=r7.dc98c69
2023-10-21 14:57:57 +02:00
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"
2023-10-21 15:28:13 +02:00
pwd
DESTDIR="$pkgdir" make install
2023-10-21 14:57:57 +02:00
}