nummi/PKGBUILD

27 lines
697 B
Text
Raw Normal View History

2022-05-21 12:12:34 +02:00
pkgname=nummi
pkgver=0.1.0
2022-05-21 12:15:29 +02:00
pkgrel=3
2022-05-21 12:12:34 +02:00
pkgdesc="Web-based accounting interface"
arch=("any")
url="https://git.edgarpierre.fr/edpibu/nummi"
license=("AGPL3")
depends=(
2022-05-21 12:13:52 +02:00
"gunicorn"
"python-django"
2022-05-21 12:12:34 +02:00
)
optdepends=("postgresql: database")
source=(
2022-05-21 12:15:29 +02:00
"git+file://${pkgname}"
2022-05-21 12:12:34 +02:00
"${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
}