summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJameson Pugh2015-06-08 08:29:50 -0400
committerJameson Pugh2015-06-08 08:29:50 -0400
commitd33a7c749b04de34d42c4a5ea077f987904d3eb5 (patch)
tree34bc511c8c286c08067f51215a1374daa9c1203e
downloadaur-d33a7c749b04de34d42c4a5ea077f987904d3eb5.tar.gz
Initial commit using aur2git
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7ad81ee5b7d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by makepkg 4.2.0
+# Tue Dec 30 21:06:02 UTC 2014
+pkgbase = ipmicfg
+ pkgdesc = Supermicro IPMI configuration tool
+ pkgver = 1.20.3_20141105
+ 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.20.3_20141105.zip
+ sha256sums = 3636aa630ead6a2c4287ebb61c26d7ac8d4600e16194e832f1e9d1821371db74
+
+pkgname = ipmicfg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..619002a645e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Dmitry Nosachev <quartz64@gmail.com>
+# Contributor: Dmitry Nosachev <quartz64@gmail.com>
+
+pkgname=ipmicfg
+pkgver=1.20.3_20141105
+pkgrel=1
+pkgdesc="Supermicro IPMI configuration tool"
+makedepends=('unzip')
+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=('3636aa630ead6a2c4287ebb61c26d7ac8d4600e16194e832f1e9d1821371db74')
+
+package() {
+ cd ${srcdir}/${pkgname}_${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
+ 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
+}
+
+