summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamran Mackey2020-06-01 18:57:06 -0600
committerKamran Mackey2020-06-01 18:57:06 -0600
commit0f50c553e9d1be7803c300ceda710169ba325790 (patch)
tree9fc3635aac88189567baa657148d12150b0992c0
parentdf55e08191eb913c2d7a6300873a8d0ca77d82b8 (diff)
downloadaur-0f50c553e9d1be7803c300ceda710169ba325790.tar.gz
Added installation of bash autocompletion.
Signed-off-by: Kamran Mackey <kamranm1200@gmail.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f61c52985e83..614a0d3dba7d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cmus-git
pkgdesc = Small, fast and powerful console music player for Unix-like operating systems.
pkgver = v2.8.0.r24.gd1290d5
- pkgrel = 3
+ pkgrel = 4
url = https://cmus.github.io/
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index f6d94791cee5..fb80b31571e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cmus-git
pkgver=v2.8.0.r24.gd1290d5
-pkgrel=3
+pkgrel=4
pkgdesc="Small, fast and powerful console music player for Unix-like operating systems."
arch=('x86_64')
url="https://cmus.github.io/"
@@ -61,5 +61,6 @@ build() {
package() {
cd "$_gitname"
make DESTDIR="$pkgdir" install
+ install -Dm644 contrib/cmus.bash-completion "$pkgdir"/usr/share/bash-completion/completions/cmus
install -Dm644 contrib/_cmus "$pkgdir"/usr/share/zsh/site-functions/_cmus
}