summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlbert Graef2017-04-17 06:29:49 +0200
committerAlbert Graef2017-04-17 06:29:49 +0200
commit152df232d78a5d408f4de54f9b336c5fbd4e1e65 (patch)
tree046b284d38b1f8fec8ff6f7be682e3c8dc3c5cfb /PKGBUILD
parent11a42d62d4142dfe87a3a6902256ee5408b1d879 (diff)
downloadaur-152df232d78a5d408f4de54f9b336c5fbd4e1e65.tar.gz
Update PKGBUILD (re-add missing bash completion file).
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6aed820f4a3c..fe2b2e54e794 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,7 @@
# /usr/lib/purr-data, so that 3rd party externals know where to find these.
pkgname=purr-data
-pkgver=2.1.2.r3422.2cf1427e
+pkgver=2.1.2.r3424.7c5678bd
pkgrel=1
pkgdesc="Jonathan Wilkes' nw.js variant of Pd-L2Ork (git version)"
url="https://git.purrdata.net/jwilkes/purr-data"
@@ -133,8 +133,11 @@ package() {
mkdir -p "$pkgdir/usr/lib"
ln -sf $prefix/lib/pd-l2ork "$pkgdir/usr/lib/purr-data"
# Just remove all the /etc stuff and the Emacs mode for now, we don't really
- # need these.
+ # need most of these.
rm -rf "$pkgdir/etc" "$pkgdir/usr/share/emacs"
+ # Add the bash completion file again, and edit it accordingly.
+ mkdir -p "$pkgdir/etc/bash_completion.d"
+ sed -e 's/pd-l2ork/purr-data/g' < "$srcdir/$pkgname/scripts/bash_completion/pd-l2ork" > "$pkgdir/etc/bash_completion.d/purr-data"
# Edit the library paths in the default user.settings file so that it
# matches our install prefix.
cd "$pkgdir$prefix/lib/pd-l2ork"