summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBuildTools2016-10-03 09:01:58 -0400
committerBuildTools2016-10-03 09:01:58 -0400
commit2944abd5700c76d3b3b732afe28778c2e0b92daf (patch)
tree7cc660894e2a4311b121d75621a43d6add9fc29f /PKGBUILD
parent1d2b5a03c4f1b51adfe3ef85859ada82a539b667 (diff)
downloadaur-2944abd5700c76d3b3b732afe28778c2e0b92daf.tar.gz
v1.24.1_build.160222
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 832490c41e9..df5e6ea7438 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
# Contributor: Dmitry Nosachev <quartz64@gmail.com>
pkgname=ipmicfg
-pkgver=1.23.0_general_20151106
+_pkgnamecaps=IPMICFG
+pkgver=1.24.1_build.160222
pkgrel=1
pkgdesc="Supermicro IPMI configuration tool"
makedepends=('unzip')
@@ -10,23 +11,23 @@ depends=("glibc")
arch=('x86_64' 'i686')
license=('custom:"Super Micro Computer"')
url="http://www.supermicro.com/products/nfo/ipmi.cfm"
-source=("ftp://ftp.supermicro.com/utility/IPMICFG/${pkgname}_${pkgver}.zip")
-sha256sums=('d393f6c0dbf44cdd20b7dd7905b844a5407cb35dcca77597bc90df4e518a39e5')
+source=("ftp://ftp.supermicro.com/utility/${_pkgnamecaps}/${_pkgnamecaps}_${pkgver}.zip")
+sha256sums=('469aea7f450f35e0e24c57766b44eacfa8ff68ed30c9be42db5eeaf8c796075f')
package() {
- cd ${srcdir}/${pkgname}_${pkgver}/linux
+ cd ${srcdir}/${_pkgnamecaps}_${pkgver}/Linux
mkdir -p ${pkgdir}/opt
mkdir -p ${pkgdir}/usr/bin
if [ "${CARCH}" = "x86_64" ]; then
cp -rf 64bit ${pkgdir}/opt/${pkgname}
- chmod a+rx ${pkgdir}/opt/${pkgname}/ipmicfg-linux.x86_64
- ln -s /opt/${pkgname}/ipmicfg-linux.x86_64 ${pkgdir}/usr/bin/ipmicfg
+ chmod a+rx ${pkgdir}/opt/${pkgname}/${_pkgnamecaps}-Linux.x86_64
+ ln -s /opt/${pkgname}/${_pkgnamecaps}-Linux.x86_64 ${pkgdir}/usr/bin/${pkgname}
elif [ "${CARCH}" = "i686" ]; then
cp -rf 32bit ${pkgdir}/opt/${pkgname}
- chmod a+rx ${pkgdir}/opt/${pkgname}/ipmicfg-linux.x86
- ln -s /opt/${pkgname}/ipmicfg-linux.x86 ${pkgdir}/usr/bin/ipmicfg
+ chmod a+rx ${pkgdir}/opt/${pkgname}/${_pkgnamecaps}-Linux.x86
+ ln -s /opt/${pkgname}/${_pkgnamecaps}-Linux.x86 ${pkgdir}/usr/bin/ipmicfg
fi
}