summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f58847cb3a..af43d2f0358 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Dmitry Nosachev <quartz64@gmail.com>
+# Maintainer: Donald Webster <fryfrog@gmail.com>
# Contributor: Dmitry Nosachev <quartz64@gmail.com>
pkgname=ipmicfg
@@ -8,27 +8,19 @@ pkgrel=1
pkgdesc="Supermicro IPMI configuration tool"
makedepends=('unzip')
depends=("glibc")
-arch=('x86_64' 'i686')
+arch=('x86_64')
license=('custom:"Super Micro Computer"')
url="http://www.supermicro.com/products/nfo/ipmi.cfm"
-source=("ftp://ftp.supermicro.com/utility/IPMICFG/IPMICFG_${pkgver}_build.${_pkghash}.zip")
+source=("https://www.supermicro.com/wftp/utility/IPMICFG/IPMICFG_${pkgver}_build.${_pkghash}.zip")
sha256sums=('7b0b22cdad03822e4d5919a9073f324466f93784919d11cafc6c600668118b9d')
package() {
- cd ${srcdir}/IPMICFG_${pkgver}_build.${_pkghash}/Linux
+ install -d -m 755 "${pkgdir}/usr/lib/ipmicfg"
+ install -d -m 755 "${pkgdir}/usr/bin"
- 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/${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
- fi
+ cp -dpr --no-preserve=ownership "${srcdir}/IPMICFG_${pkgver}_build.${_pkghash}/Linux/64bit/"* ${pkgdir}/usr/lib/ipmicfg
+ chmod a+rx ${pkgdir}/usr/lib/ipmicfg/IPMICFG-Linux.x86_64
+ ln -s /opt/ipmicfg/IPMICFG-Linux.x86_64 ${pkgdir}/usr/bin/ipmicfg
}