Add PKGBUILD and systemd files
This commit is contained in:
parent
52c18329d2
commit
c93dd0fa97
6 changed files with 57 additions and 1 deletions
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
pkgname=nummi
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Web-based accounting interface"
|
||||
arch=("any")
|
||||
url="https://git.edgarpierre.fr/edpibu/nummi"
|
||||
license=("AGPL3")
|
||||
depends=(
|
||||
"gunicorn: server"
|
||||
"python-django: django server"
|
||||
)
|
||||
optdepends=("postgresql: database")
|
||||
|
||||
source=(
|
||||
"${pkgname}"
|
||||
"${pkgname}.service"
|
||||
"${pkgname}.socket"
|
||||
)
|
||||
|
||||
package() {
|
||||
install -Dm755 ${pkgname}/${pkgname} -t "${pkgdir}"/opt/
|
||||
install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
|
||||
install -Dm644 ${pkgname}.socket -t "${pkgdir}"/usr/lib/systemd/system/
|
||||
install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
|
||||
install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue