diff options
author | Tomas Kral | 2017-08-07 15:43:16 +0200 |
---|---|---|
committer | Tomas Kral | 2017-08-07 15:43:58 +0200 |
commit | b2e3af10d1bc6be41db060f9aaf137e44da1a676 (patch) | |
tree | af6dd674b4e0ca57b10fa529619d9aafdcdf82ba | |
parent | b5b48044824b21789701f99af5b28bb34db6309e (diff) | |
download | aur-b2e3af10d1bc6be41db060f9aaf137e44da1a676.tar.gz |
v1.0.0-2 fix package - not extracting file from archive
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -5,7 +5,7 @@ pkgbase = kompose-bin url = http://kompose.io/ arch = x86_64 license = Apache - source_x86_64 = kompose-1.0.0::https://github.com/kubernetes-incubator/kompose/releases/download/v1.0.0/kompose-linux-amd64.tar.gz + source_x86_64 = kompose-1.0.0.tar.gz::https://github.com/kubernetes-incubator/kompose/releases/download/v1.0.0/kompose-linux-amd64.tar.gz md5sums_x86_64 = 9e7aa088318c54b81d25bae5640fa1af pkgname = kompose-bin @@ -3,17 +3,18 @@ pkgname=kompose-bin _srcname=kompose pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Takes a Docker Compose file and translates it into Kubernetes resources" url="http://kompose.io/" license=('Apache') arch=('x86_64') -[ "$CARCH" = 'x86_64' ] && _arch='linux-amd64' -source_x86_64=("$_srcname-$pkgver::https://github.com/kubernetes-incubator/kompose/releases/download/v$pkgver/kompose-linux-amd64.tar.gz") +source_x86_64=("$_srcname-$pkgver.tar.gz::https://github.com/kubernetes-incubator/kompose/releases/download/v$pkgver/kompose-linux-amd64.tar.gz") md5sums_x86_64=('9e7aa088318c54b81d25bae5640fa1af') package() { - install -Dm755 "$srcdir/$_srcname-$pkgver" "$pkgdir/usr/bin/kompose" + cd ${srcdir} + tar -xzf $_srcname-$pkgver.tar.gz + install -Dm755 "$srcdir/kompose-linux-amd64" "$pkgdir/usr/bin/kompose" } |