Added support for i686

This commit is contained in:
L. Bradley LaBoon 2015-12-28 16:41:47 -05:00
parent 66dc3418f9
commit ec16c1663e
2 changed files with 14 additions and 6 deletions

View file

@ -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

View file

@ -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"