summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Müller2019-11-08 22:26:59 +0100
committerThorsten Müller2019-11-08 22:26:59 +0100
commit818a6049c81be2cdf3aba5b0fcca3bbcddeb9cd0 (patch)
tree40cd80e4651676f7bac7e2c8dd7184a7e7f755d9
parent56b09b36699a3b2905e93616753e2d1bc69ee5f2 (diff)
downloadaur-818a6049c81be2cdf3aba5b0fcca3bbcddeb9cd0.tar.gz
multi architecture support
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b772c804b8..48b656dea07 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,7 @@ pkgbase = sensu-cli
arch = armv7h
license = MIT
source = sensu-cli-5.14.2_armv7h.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.14.2/sensu-go_5.14.2_linux_armv7.tar.gz
- source = sensu-cli-5.14.2_amd64.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.14.2/sensu-go_5.14.2_linux_amd64.tar.gz
+ source = sensu-cli-5.14.2_x86_64.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/5.14.2/sensu-go_5.14.2_linux_amd64.tar.gz
sha256sums = e6e08a4c135e696369c5e855e83cdbc21d3f653b54abdef9a1e75e526f34ad94
sha256sums = ebb1e3595b91c0a5a46b456453130f2b1a9c5db31d776f70660513936e54bdde
diff --git a/PKGBUILD b/PKGBUILD
index c7c7f9ec384..0e802281ef3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ url='https://sensu.io'
license=('MIT')
#makedepends=('')
source=("${pkgname}-${pkgver}_armv7h.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/${pkgver}/sensu-go_${pkgver}_linux_armv7.tar.gz"
- "${pkgname}-${pkgver}_amd64.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/${pkgver}/sensu-go_${pkgver}_linux_amd64.tar.gz"
+ "${pkgname}-${pkgver}_x86_64.tar.gz::https://s3-us-west-2.amazonaws.com/sensu.io/sensu-go/${pkgver}/sensu-go_${pkgver}_linux_amd64.tar.gz"
)
sha256sums=(
'e6e08a4c135e696369c5e855e83cdbc21d3f653b54abdef9a1e75e526f34ad94'
@@ -16,6 +16,10 @@ sha256sums=(
)
+build() {
+ tar xzvf ${pkgname}-${pkgver}_$CARCH.tar.gz
+}
+
# TODO: better build from source
# build() {}
package() {