diff options
author | haawda | 2018-10-10 21:55:41 +0200 |
---|---|---|
committer | haawda | 2018-10-10 21:55:41 +0200 |
commit | 79857b83bbd1243e709ab41577deb4cc7e8a6bcf (patch) | |
tree | 78f79e87cf7b8c77c50b566d1cf5f2c4acf8c9a7 | |
parent | 01362a19736b9e734fcca8ddca740e1fef66179b (diff) | |
download | aur-79857b83bbd1243e709ab41577deb4cc7e8a6bcf.tar.gz |
add some quoting
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -13,20 +13,19 @@ provides=('gnomesword' 'xiphos') conflicts=('gnomesword' 'xiphos') source=(git+https://github.com/crosswire/xiphos.git) md5sums=('SKIP') -_gitname=xiphos pkgver() { - cd "$_gitname" + cd ${pkgname%-git} printf "r%s" $(git rev-list --count HEAD) } build() { - cd "$_gitname" + cd ${pkgname%-git} CXX=g++ python2 ./waf --prefix=/usr --enable-webkit2 configure python2 ./waf --prefix=/usr --enable-webkit2 build } package() { - cd "$_gitname" - python2 ./waf --destdir=$pkgdir --no-post-install install + cd ${pkgname%-git} + python2 ./waf --destdir="$pkgdir" --no-post-install install } |