summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2019-01-11 09:13:58 -0800
committerDonald Webster2019-01-11 09:13:58 -0800
commit6065cce4159139b6babe0fe6d455ba6117728db6 (patch)
treed902b32e6d5690db2c3fe2520d93ae2625c7bb0f
parent2d3624dfc2a3d8508f0aa7cbd1703533a72fae3b (diff)
downloadaur-6065cce4159139b6babe0fe6d455ba6117728db6.tar.gz
Switch to /usr/lib/ipmicfg and remove i686 support.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD24
2 files changed, 9 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4344252623e..27cdf56c16e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,11 +4,10 @@ pkgbase = ipmicfg
pkgrel = 1
url = http://www.supermicro.com/products/nfo/ipmi.cfm
arch = x86_64
- arch = i686
license = custom:"Super Micro Computer"
makedepends = unzip
depends = glibc
- source = ftp://ftp.supermicro.com/utility/IPMICFG/IPMICFG_1.29.0_build.181029.zip
+ source = https://www.supermicro.com/wftp/utility/IPMICFG/IPMICFG_1.29.0_build.181029.zip
sha256sums = 7b0b22cdad03822e4d5919a9073f324466f93784919d11cafc6c600668118b9d
pkgname = ipmicfg
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
}