Fix VCS -> git in pkgbuild
This commit is contained in:
parent
8c3f573811
commit
589f9a9b46
1 changed files with 5 additions and 5 deletions
10
PKGBUILD
10
PKGBUILD
|
@ -1,5 +1,5 @@
|
|||
pkgname=nummi-git
|
||||
pkgver=0.1.0
|
||||
pkgver=r50.8c3f573
|
||||
pkgrel=1
|
||||
pkgdesc="Web-based accounting interface"
|
||||
arch=("any")
|
||||
|
@ -30,10 +30,10 @@ pkgver() {
|
|||
|
||||
package() {
|
||||
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}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname%-VCS}.conf
|
||||
install -Dm644 ${pkgname%-git}.nginx "${pkgdir}"/etc/nginx/sites-enabled/${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%-git}.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}/{}" \;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue