From df9f3bd75b32406fa7c34376af5ef97e230361bc Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 17 Jul 2023 00:16:48 +0200 Subject: readme, file structure --- pkgbuild/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgbuild/PKGBUILD (limited to 'pkgbuild/PKGBUILD') diff --git a/pkgbuild/PKGBUILD b/pkgbuild/PKGBUILD new file mode 100644 index 0000000..93d4710 --- /dev/null +++ b/pkgbuild/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Your Name +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 ) +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/* +} -- cgit v1.2.3