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