summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Marolt2017-11-04 13:28:12 +0100
committerAndrej Marolt2017-11-04 13:28:12 +0100
commit710eb75ff33ece1e69b895542fab21e3b5c9a1f7 (patch)
tree3328fb513ba6a14b76152875dc44b4dd363695db
parent40badc252d61e7f053868f952814213697323973 (diff)
downloadaur-710eb75ff33ece1e69b895542fab21e3b5c9a1f7.tar.gz
Release v1.1.7
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5bf52eef5c0..a6473be0d58 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 = 4
+ pkgrel = 5
url = https://github.com/openshift/source-to-image
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2f8614cdb57..d49ec7dd394 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=4
+pkgrel=5
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"
@@ -13,9 +13,13 @@ md5sums=('e23e47bdef21a82e091512cc83080d4e')
build() {
echo "Installing source-to-image"
+ $srcdir/s2i completion bash > $srcdir/s2i.bash
+ $srcdir/s2i completion zsh > $srcdir/s2i.zsh
}
package() {
- install -D -m755 $srcdir/s2i $pkgdir/usr/bin/s2i
- ln -s s2i $pkgdir/usr/bin/sti
+ 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
}