Update PKGBUILD

This commit is contained in:
Edgar P. Burkhart 2022-05-21 18:25:08 +02:00
parent ce0910ce97
commit c778a5fe32
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -1,24 +1,28 @@
pkgname=nummi
pkgname=nummi-git
pkgver=0.1.0
pkgrel=10
pkgrel=1
pkgdesc="Web-based accounting interface"
arch=("any")
url="https://git.edgarpierre.fr/edpibu/nummi"
license=("AGPL3")
license=('AGPL3')
depends=(
"gunicorn"
"python-django"
)
makedepends=('git')
optdepends=("postgresql: database")
sha256sums=("SKIP")
source=(
"${pkgname}::git+ssh://gitea@git.edgarpierre.fr:39529/edpibu/nummi.git"
"${pkgname}.service"
"${pkgname}.tmpfiles"
"${pkgname}.sysusers"
"${pkgname}.nginx"
'${pkgname}::git+ssh://gitea@git.edgarpierre.fr:39529/edpibu/nummi.git'
'${pkgname}.service'
'${pkgname}.tmpfiles'
'${pkgname}.sysusers'
'${pkgname}.nginx'
)
md5sums=('SKIP')
pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/