Initial commit
This commit is contained in:
commit
baa789b6f5
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = pufferpanel-bin
|
||||
pkgdesc = PufferPanel: A web-base game management system (binary version).
|
||||
pkgver = 2.3.1
|
||||
pkgrel = 3
|
||||
url = https://github.com/PufferPanel/PufferPanel
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
optdepends = nginx: TLS support
|
||||
optdepends = postgresql: Dedicated database
|
||||
optdepends = docker: Container support
|
||||
optdepends = sqlite: Database support
|
||||
provides = pufferpanel
|
||||
conflicts = pufferpanel
|
||||
source = https://github.com/PufferPanel/PufferPanel/releases/download/v2.3.1/pufferpanel_2.3.1_amd64.deb
|
||||
b2sums = 1e899a2a803dfe9a4d54748f222dac1c66ebf9463d873081850578f682bf7b31ad1284b4793288c1117d65253d5b5c543a593f96b16165a80f5dcc6e2ecbd75a
|
||||
|
||||
pkgname = pufferpanel-bin
|
35
PKGBUILD
Normal file
35
PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Maintainer: S. Wiegand <flummi[at]srv[dot]fail>
|
||||
|
||||
pkgname=pufferpanel-bin
|
||||
pkgver=2.3.1
|
||||
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=('1e899a2a803dfe9a4d54748f222dac1c66ebf9463d873081850578f682bf7b31ad1284b4793288c1117d65253d5b5c543a593f96b16165a80f5dcc6e2ecbd75a')
|
||||
|
||||
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
|
||||
}
|
1
pufferpanel.sysusers
Normal file
1
pufferpanel.sysusers
Normal file
|
@ -0,0 +1 @@
|
|||
u pufferpanel - "pufferpanel" /var/lib/pufferpanel
|
10
pufferpanel.tmpfiles
Normal file
10
pufferpanel.tmpfiles
Normal file
|
@ -0,0 +1,10 @@
|
|||
d /var/log/pufferpanel 0755 pufferpanel pufferpanel
|
||||
z /var/log/pufferpanel - pufferpanel pufferpanel
|
||||
|
||||
d /var/lib/pufferpanel - pufferpanel pufferpanel
|
||||
|
||||
#z /etc/pufferpanel/config.json 755 pufferpanel pufferpanel
|
||||
#d /etc/pufferpanel/email 755 pufferpanel pufferpanel
|
||||
|
||||
d /var/www/pufferpanel 0755 pufferpanel pufferpanel
|
||||
z /var/www/pufferpanel - pufferpanel pufferpanel
|
Loading…
Reference in New Issue
Block a user