aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..e5f4d71
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=aurbuilder
+pkgver=0.0
+pkgrel=1
+pkgdesc="AUR Package builder"
+arch=( any )
+url="https://gitea.lauch.link/jonas/aurbuilder"
+license=('CUSTOM')
+groups=()
+depends=( podman bash )
+makedepends=()
+optdepends=()
+source=(git+$url.git)
+sha256sums=( SKIP ) #autofill using updpkgsums
+install=$pkgname.install
+
+pkgver() {
+ date +%Y%m%d
+}
+
+build() {
+ cd "$pkgname"
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -Dt $pkgdir/usr/share/aurbuilder container/{Dockerfile,sudoers}
+ install -Dt $pkgdir/usr/share/aurbuilder/bin container/bin/*
+ install -Dt $pkgdir/usr/lib/aurbuilder scripts/*
+ install -Dt $pkgdir/usr/lib/systemd/system unitfiles/*
+ install -Dt $pkgdir/etc/aurbuilder configs/*
+
+}
+