2021-09-01 03:41:09 +00:00
|
|
|
# Maintainer: S. Wiegand <flummi[at]srv[dot]fail>
|
|
|
|
|
|
|
|
pkgname=pufferpanel-bin
|
2022-04-09 13:42:07 +00:00
|
|
|
pkgver=2.4.0
|
2021-09-01 03:41:09 +00:00
|
|
|
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)
|
2022-04-09 13:42:07 +00:00
|
|
|
b2sums=('3d9b0581264b2260fa81f627c2153a7cf9e6312962c9c5359ebce267a3afa1df9f249cc62f58367d4bf7ca5741a509aa626144d3c56efeae343cab1e960653e9')
|
2021-09-01 03:41:09 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|