From ec16c1663ee10d9299566da825a4bf119ade376b Mon Sep 17 00:00:00 2001 From: "L. Bradley LaBoon" Date: Mon, 28 Dec 2015 16:41:47 -0500 Subject: [PATCH] Added support for i686 --- .SRCINFO | 3 ++- PKGBUILD | 17 ++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e89aa003826bf..f99fcfd75ffbc 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Dec 28 16:55:11 UTC 2015 +# Mon Dec 28 21:41:10 UTC 2015 pkgbase = splunk pkgdesc = Statistical analysis and search tool for logs and machine data pkgver = 6.3.2_aaff59bb082c @@ -7,6 +7,7 @@ pkgbase = splunk url = http://www.splunk.com/ install = splunk.install arch = x86_64 + arch = i686 license = custom source = http://download.splunk.com/products/splunk/releases/6.3.2/splunk/linux/splunk-6.3.2-aaff59bb082c-Linux-.tgz source = splunk.service diff --git a/PKGBUILD b/PKGBUILD index bae6ac845714f..dc036fe16a177 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,17 +4,24 @@ pkgver=6.3.2_aaff59bb082c pkgrel=1 pkgdesc="Statistical analysis and search tool for logs and machine data" url="http://www.splunk.com/" -arch=('x86_64') +arch=('x86_64' 'i686') license=('custom') install="$pkgname.install" source=( "http://download.splunk.com/products/splunk/releases/6.3.2/splunk/linux/$pkgname-${pkgver//_/-}-Linux-$CARCH.tgz" "$pkgname.service" ) -sha256sums=( - 'e82566e56c1872c32f4f2fec4751476455bd06251794eb88dcbbe5cb37b0c647' - 'ca96b85750a0592208facc747bbe1eb22b0a35b6dee841e6f51f1ad6a9157757' -) +if [ $CARCH == 'i686' ]; then + sha256sums=( + 'b2ba9fe5e3666d454737c960d25ae0b4e74423f68ddc62b4c280c337355143f3' + 'ca96b85750a0592208facc747bbe1eb22b0a35b6dee841e6f51f1ad6a9157757' + ) +else + sha256sums=( + 'e82566e56c1872c32f4f2fec4751476455bd06251794eb88dcbbe5cb37b0c647' + 'ca96b85750a0592208facc747bbe1eb22b0a35b6dee841e6f51f1ad6a9157757' + ) +fi package() { cd "$srcdir"