From af9a866774b3ee9d22a0217e1cb14572355e5a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 21 Oct 2023 14:57:57 +0200 Subject: [PATCH] initial PKGBUILD --- PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..70a252c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Maximilian Keßler +# + +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 +}