summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Marolt2017-11-04 16:53:27 +0100
committerAndrej Marolt2017-11-04 16:53:27 +0100
commita57390e0869ada1153e06833d1efedf8cc9a5e3e (patch)
tree6942e052477f5f900e379709ad3e09d85eb08df0
parent710eb75ff33ece1e69b895542fab21e3b5c9a1f7 (diff)
downloadaur-a57390e0869ada1153e06833d1efedf8cc9a5e3e.tar.gz
Release v1.1.7
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6473be0d58..be9af39aeac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openshift-source-to-image
pkgdesc = A tool for building/building artifacts from source and injecting into docker images
pkgver = 1.1.7
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/openshift/source-to-image
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d49ec7dd394..f75ecea8f85 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=openshift-source-to-image
_release=v1.1.7
_commit=226afa1
pkgver=1.1.7
-pkgrel=5
+pkgrel=6
pkgdesc="A tool for building/building artifacts from source and injecting into docker images"
arch=('i686' 'x86_64')
url="https://github.com/openshift/source-to-image"
@@ -17,9 +17,17 @@ build() {
$srcdir/s2i completion zsh > $srcdir/s2i.zsh
}
+prepare() {
+ # Fix zsh completion
+ sed -i '1i#compdef s2i' $srcdir/s2i.zsh
+}
+
package() {
+ # completions
+ install -D -m644 $srcdir/s2i.bash $pkgdir/usr/share/bash-completion/completions/s2i
+ install -D -m644 $srcdir/s2i.zsh $pkgdir/usr/share/zsh/site-functions/_s2i
+
+ # package
install -D -m755 $srcdir/s2i $pkgdir/usr/bin/s2i
- install -D -m755 $srcdir/s2i.bash $pkgdir/usr/share/bash-completion/completions/s2i
- install -D -m755 $srcdir/s2i.zsh $pkgdir/usr/share/zsh/site-functions/_s2i
ln -s s2i $pkgdir/usr/bin/sti
}