diff options
author | Albert Graef | 2017-04-17 06:29:49 +0200 |
---|---|---|
committer | Albert Graef | 2017-04-17 06:29:49 +0200 |
commit | 152df232d78a5d408f4de54f9b336c5fbd4e1e65 (patch) | |
tree | 046b284d38b1f8fec8ff6f7be682e3c8dc3c5cfb | |
parent | 11a42d62d4142dfe87a3a6902256ee5408b1d879 (diff) | |
download | aur-152df232d78a5d408f4de54f9b336c5fbd4e1e65.tar.gz |
Update PKGBUILD (re-add missing bash completion file).
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Apr 6 13:40:29 UTC 2017 +# Mon Apr 17 04:28:58 UTC 2017 pkgbase = purr-data pkgdesc = Jonathan Wilkes' nw.js variant of Pd-L2Ork (git version) - pkgver = 2.1.2.r3422.2cf1427e + pkgver = 2.1.2.r3424.7c5678bd pkgrel = 1 url = https://git.purrdata.net/jwilkes/purr-data install = purr-data.install @@ -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" |