summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Simons2015-07-08 13:47:20 +0200
committerLukas Fleischer2015-07-10 12:57:31 +0200
commit8d8971ea7e8ca16cc74f0f973a20419892985487 (patch)
tree159baa1466ab40f16dafc9a285f5d038b180758a
parent9d3a888bc317edd49dd6265ce0e12bedc4a74046 (diff)
downloadaur-8d8971ea7e8ca16cc74f0f973a20419892985487.tar.gz
install bash/zsh completions
Signed-off-by: Dave Simons <aur@simonsd.org>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6af5950cd6f0..b4c523e3ffc7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dynamic-colors-git
pkgdesc = Change terminal colors on the fly
- pkgver = 0
+ pkgver = 35325f4
pkgrel = 1
url = https://github.com/sos4nt/dynamic-colors
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 1c28be001368..1f1c0bbc41ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Dave Simons <pkgs@simonsd.org>
pkgname=dynamic-colors-git
-pkgver=0
+pkgver=35325f4
pkgrel=1
pkgdesc="Change terminal colors on the fly"
arch=('i686' 'x86_64')
@@ -26,8 +26,10 @@ build() {
package() {
cd "$srcdir/dynamic-colors"
- install -dm755 "$pkgdir/usr/bin" "$pkgdir/usr/share/dynamic-colors/colorschemes" "$pkgdir/run/dynamic-colors"
+ install -dm755 "$pkgdir/usr/bin" "$pkgdir/usr/share/dynamic-colors/colorschemes" "$pkgdir/run/dynamic-colors" "$pkgdir/usr/share/bash-completion/completions" "$pkgdir/usr/share/zsh/site-functions"
install -m755 "bin/dynamic-colors" "$pkgdir/usr/bin/dynamic-colors"
+ install -m755 "completions/dynamic-colors.bash" "$pkgdir/usr/share/bash-completion/completions/dynamic-colors"
+ install -m755 "completions/dynamic-colors.zsh" "$pkgdir/usr/share/zsh/site-functions/_dynamic-colors"
cp -r "colorschemes/" "$pkgdir/usr/share/dynamic-colors/"
touch "$pkgdir/run/dynamic-colors/colorscheme"
chmod 777 "$pkgdir/run/dynamic-colors/colorscheme"