# Maintainer: Your Name pkgname=aurbuilder pkgver=0.0 pkgrel=1 pkgdesc="AUR Package builder" arch=( any ) url="https://gitea.lauch.link/jonas/aurbuilder" license=('MIT') groups=() depends=( podman bash pacman ) makedepends=() optdepends=() source=(git+$url.git) sha256sums=( SKIP ) install=$pkgname.install backup=( etc/aurbuilder/packages etc/aurbuilder/config ) pkgver() { date +%Y%m%d } build() { cd "$pkgname" } package() { cd "$srcdir/$pkgname" install -Dt $pkgdir/usr/share/aurbuilder/container container/{Dockerfile,sudoers} install -Dt $pkgdir/usr/share/aurbuilder/container/bin container/bin/* install -Dt $pkgdir/usr/share/aurbuilder/nginx nginx/* install -Dt $pkgdir/usr/lib/aurbuilder scripts/* install -Dt $pkgdir/usr/lib/systemd/system unitfiles/* install -Dt $pkgdir/etc/aurbuilder configs/* }