diff options
author | Sam A. Horvath-Hunt | 2021-08-17 09:15:55 +0100 |
---|---|---|
committer | Sam A. Horvath-Hunt | 2021-08-17 09:15:55 +0100 |
commit | 0966fe885c7de8edd50858049b86a7f4656c4e1e (patch) | |
tree | 7d07d58433cad18e99045e09149748a04f21fac1 /PKGBUILD | |
parent | 28bcc68113db2902c9e56caae8dc3e9ba97d977f (diff) | |
download | aur-nodejs-nps.tar.gz |
5.10.0-2: add bash completions
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ _pkgname=nps pkgname=nodejs-nps pkgver=5.10.0 -pkgrel=1 +pkgrel=2 pkgdesc="All the benefits of npm scripts without the cost of a bloated package.json and limits of json" url="https://github.com/sezna/$_pkgname" license=("MIT") @@ -21,5 +21,5 @@ prepare() { package() { npm i -g --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_pkgname-$pkgver.tgz" install -Dm644 package/LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -Dm644 <(nps completion) "$pkgdir/usr/share/bash-completion/completions/$_pkgname" } - |