makedeb
A MPR helper written in bash.
Click here to go back to the commit logs for stoke-git.
Hash: 5ca645cd1ab68c7e970776c371c31a74d1ca1af7
Message: Add completions
diff --git a/PKGBUILD b/PKGBUILD
index b9c75f9..5a5eb73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,9 @@ pkgver() {
package() {
cd "$_pkgname"
- mkdir -p "${pkgdir}/usr/bin"
install -Dm755 stoke "${pkgdir}/usr/bin/"
+ rm -f stoke
+ mv stoke-completions stoke
+ install -Dm755 stoke "${pkgdir}/usr/share/bash-completions/completions/"
}