summaryrefslogtreecommitdiff
path: root/pcr/ipmiutil
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ipmiutil')
-rw-r--r--pcr/ipmiutil/PKGBUILD37
1 files changed, 24 insertions, 13 deletions
diff --git a/pcr/ipmiutil/PKGBUILD b/pcr/ipmiutil/PKGBUILD
index 3e3f5aac0..7e67e2995 100644
--- a/pcr/ipmiutil/PKGBUILD
+++ b/pcr/ipmiutil/PKGBUILD
@@ -1,27 +1,38 @@
+# Contributor (Arch): Florian Dejonckheere <florian@floriandejonckheere.be>
# Contributor (Arch): goodmen <goodmenlinux@gmail.com>
# Contributor (Arch): Gergely Imreh <imrehgATgmailDOTcom>
# Contributors: champus, madeye, Ranguvar and ninja_pt
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
pkgname=ipmiutil
-pkgver=2.7.5
+pkgver=2.9.5
pkgrel=1
pkgdesc="A simple program that lists results from the hardware detection library."
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/ipmiutil/"
-license=('BSD2.0')
-depends=('')
-makedepends=('openssl')
+license=('BSD3')
+depends=('openssl')
options=('!emptydirs')
-source=("http://prdownloads.sourceforge.net/ipmiutil/ipmiutil-${pkgver}.tar.gz")
+source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('cbfcb548493bc43abe165e34b874b3b3')
-build() {
- cd ${srcdir}
- tar -xf ${pkgname}-${pkgver}.tar.gz
+build()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}"
- cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --enable-gpl --libdir=/usr/lib --bindir=/usr/bin
+ make
+}
+
+package()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}"
+pwd
+ mv -v usr/sbin/* usr/bin/
+ rmdir -v usr/sbin/
- ./configure --enable-gpl
- make -j1 || return 1
- make DESTDIR=${pkgdir} install || return 1
+ install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/ipmiutil/LICENSE"
}