diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 10:40:42 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 10:40:42 -0500 |
commit | 568944427a56d8613899710c77f66123a8f459e5 (patch) | |
tree | a849579b96ef266921d3b089a89965f0167f6d80 /pcr | |
parent | f9a1287903bf8c6be117a7bb31e9a79390ca285f (diff) |
ipmiutil-2.9.5-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ipmiutil/PKGBUILD | 37 |
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" } |