Update PKGBUILD
This commit is contained in:
parent
ce0910ce97
commit
c778a5fe32
1 changed files with 14 additions and 10 deletions
24
PKGBUILD
24
PKGBUILD
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue