mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Updated PKGBUILD to use proper variables
This commit is contained in:
parent
61ac1a68d6
commit
59a4f997be
2 changed files with 23 additions and 18 deletions
14
.SRCINFO
14
.SRCINFO
|
|
@ -1,5 +1,5 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Mon Dec 28 21:32:06 UTC 2015
|
||||
# Fri Jan 15 23:25:22 UTC 2016
|
||||
pkgbase = splunkforwarder
|
||||
pkgdesc = Splunk Universal Forwarder
|
||||
pkgver = 6.3.2_aaff59bb082c
|
||||
|
|
@ -10,10 +10,14 @@ pkgbase = splunkforwarder
|
|||
arch = i686
|
||||
license = custom
|
||||
conflicts = splunk
|
||||
source = http://download.splunk.com/products/splunk/releases/6.3.2/universalforwarder/linux/splunkforwarder-6.3.2-aaff59bb082c-Linux-.tgz
|
||||
source = splunkforwarder.service
|
||||
sha256sums = cec2892f5501103203370c65f63953014a7618072e4ff34d053b526879642473
|
||||
sha256sums = 8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152
|
||||
source_x86_64 = http://download.splunk.com/products/splunk/releases/6.3.2/universalforwarder/linux/splunkforwarder-6.3.2-aaff59bb082c-Linux-x86_64.tgz
|
||||
source_x86_64 = splunkforwarder.service
|
||||
sha256sums_x86_64 = cec2892f5501103203370c65f63953014a7618072e4ff34d053b526879642473
|
||||
sha256sums_x86_64 = 8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152
|
||||
source_i686 = http://download.splunk.com/products/splunk/releases/6.3.2/universalforwarder/linux/splunkforwarder-6.3.2-aaff59bb082c-Linux-i686.tgz
|
||||
source_i686 = splunkforwarder.service
|
||||
sha256sums_i686 = 7e38301cda465921f4eccc817fc5edcecdccf34961f6f8fb7fc2f2a2bcf06d41
|
||||
sha256sums_i686 = 8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152
|
||||
|
||||
pkgname = splunkforwarder
|
||||
|
||||
|
|
|
|||
27
PKGBUILD
27
PKGBUILD
|
|
@ -8,21 +8,22 @@ arch=('x86_64' 'i686')
|
|||
license=('custom')
|
||||
conflicts=('splunk')
|
||||
install="$pkgname.install"
|
||||
source=(
|
||||
"http://download.splunk.com/products/splunk/releases/6.3.2/universalforwarder/linux/$pkgname-${pkgver//_/-}-Linux-$CARCH.tgz"
|
||||
source_i686=(
|
||||
"http://download.splunk.com/products/splunk/releases/6.3.2/universalforwarder/linux/$pkgname-${pkgver//_/-}-Linux-i686.tgz"
|
||||
"$pkgname.service"
|
||||
)
|
||||
if [ $CARCH == 'i686' ]; then
|
||||
sha256sums=(
|
||||
'7e38301cda465921f4eccc817fc5edcecdccf34961f6f8fb7fc2f2a2bcf06d41'
|
||||
'8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152'
|
||||
)
|
||||
else
|
||||
sha256sums=(
|
||||
'cec2892f5501103203370c65f63953014a7618072e4ff34d053b526879642473'
|
||||
'8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152'
|
||||
)
|
||||
fi
|
||||
source_x86_64=(
|
||||
"http://download.splunk.com/products/splunk/releases/6.3.2/universalforwarder/linux/$pkgname-${pkgver//_/-}-Linux-x86_64.tgz"
|
||||
"$pkgname.service"
|
||||
)
|
||||
sha256sums_i686=(
|
||||
'7e38301cda465921f4eccc817fc5edcecdccf34961f6f8fb7fc2f2a2bcf06d41'
|
||||
'8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152'
|
||||
)
|
||||
sha256sums_x86_64=(
|
||||
'cec2892f5501103203370c65f63953014a7618072e4ff34d053b526879642473'
|
||||
'8bd6b2bcf9e9d89d3ab2160c409687313bbee00b7e44b3df3266b44d15a5c152'
|
||||
)
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue