summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-08-11 20:16:39 +0200
committerXZS2016-08-11 20:16:39 +0200
commitd51a7f6615ec86c660f4bab4fca0565afdd0edfa (patch)
tree53efef6986be7525e943c347896acd8a504602cd /PKGBUILD
parent555e2b968e5f9492aa760e0a33df96d9214d0a35 (diff)
downloadaur-d51a7f6615ec86c660f4bab4fca0565afdd0edfa.tar.gz
achieve customizepkg compatibility
To have its name correctly scanned by customizepkg, the pkgname variable may not contain any variables.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9b6bdf5b883..8f0efea8c78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,4 @@
-_npmname=vinefeed
-pkgname="nodejs-$_npmname"
+pkgname="nodejs-vinefeed"
pkgver=0.1.0.r11
pkgrel=1
pkgdesc="RSS/Atom feed generator for Vine users"
@@ -28,6 +27,6 @@ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
package() {
cd "$_gitname"
npm install -g --prefix "$pkgdir/usr" --production
- install -Dt "$pkgdir/usr/lib/systemd/user/" "$_npmname".{service,socket}
+ install -Dt "$pkgdir/usr/lib/systemd/user/" *.{service,socket}
rmdir "$pkgdir/usr/etc"
}