makedeb


stoke-git 1.45.da2970e-2


A MPR helper written in bash.

Click here to go back to the commit logs for stoke-git.

Commit:


Hash: 5ca645cd1ab68c7e970776c371c31a74d1ca1af7

Message: Add completions

Diff


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/"
 
 }