# Maintainer: S. Wiegand pkgname=pufferpanel-bin pkgver=2.4.0 pkgrel=3 pkgdesc="PufferPanel: A web-base game management system (binary version)." arch=('x86_64') url="https://github.com/PufferPanel/PufferPanel" license=('Apache') provides=('pufferpanel') conflicts=('pufferpanel') optdepends=('nginx: TLS support' 'postgresql: Dedicated database' 'docker: Container support' 'sqlite: Database support') depends=() source=(https://github.com/PufferPanel/PufferPanel/releases/download/v${pkgver//_/-}/pufferpanel_${pkgver//_/-}_amd64.deb) b2sums=('3d9b0581264b2260fa81f627c2153a7cf9e6312962c9c5359ebce267a3afa1df9f249cc62f58367d4bf7ca5741a509aa626144d3c56efeae343cab1e960653e9') package() { tar xJf $srcdir/data.tar.xz install -Dm644 $srcdir/../pufferpanel.sysusers $pkgdir/usr/lib/sysusers.d/pufferpanel.conf install -Dm644 $srcdir/../pufferpanel.tmpfiles $pkgdir/usr/lib/tmpfiles.d/pufferpanel.conf install -D $srcdir/usr/sbin/pufferpanel $pkgdir/usr/bin/pufferpanel mkdir -p $pkgdir/etc/pufferpanel cp -R $srcdir/etc/pufferpanel/* $pkgdir/etc/pufferpanel mkdir -p $pkgdir/var/www/pufferpanel/ cp -R $srcdir/var/www/* $pkgdir/var/www/pufferpanel install -D $srcdir/lib/systemd/system/pufferpanel.service $pkgdir/usr/lib/systemd/system/pufferpanel.service }