Fix VCS -> git in pkgbuild

This commit is contained in:
Edgar P. Burkhart 2022-05-21 18:30:11 +02:00
parent 8c3f573811
commit 589f9a9b46
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -1,5 +1,5 @@
pkgname=nummi-git pkgname=nummi-git
pkgver=0.1.0 pkgver=r50.8c3f573
pkgrel=1 pkgrel=1
pkgdesc="Web-based accounting interface" pkgdesc="Web-based accounting interface"
arch=("any") arch=("any")
@ -30,10 +30,10 @@ pkgver() {
package() { package() {
install -Dm644 ${pkgname%-git}.service -t "${pkgdir}"/usr/lib/systemd/system/ install -Dm644 ${pkgname%-git}.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 ${pkgname%-git}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname%-VCS}.conf install -Dm644 ${pkgname%-git}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname%-git}.conf
install -Dm644 ${pkgname%-git}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname%-VCS}.conf install -Dm644 ${pkgname%-git}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname%-git}.conf
install -Dm644 ${pkgname%-git}.nginx "${pkgdir}"/etc/nginx/sites-enabled/${pkgname%-VCS}.conf install -Dm644 ${pkgname%-git}.nginx "${pkgdir}"/etc/nginx/sites-enabled/${pkgname%-git}.conf
cd ${pkgname%-git}/${pkgname%-VCS} cd ${pkgname%-git}/${pkgname%-git}
find * -type f -exec install -Dm0644 "{}" "${pkgdir}/usr/share/webapps/${pkgname%-git}/{}" \; find * -type f -exec install -Dm0644 "{}" "${pkgdir}/usr/share/webapps/${pkgname%-git}/{}" \;
} }