summaryrefslogtreecommitdiff
path: root/pcr/ipmiutil/PKGBUILD
blob: 7e67e29952864b10ef31de3d8dcf679a4d23840e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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.9.5
pkgrel=1
pkgdesc="A simple program that lists results from the hardware detection library."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/ipmiutil/"
license=('BSD3')
depends=('openssl')
options=('!emptydirs')
source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('cbfcb548493bc43abe165e34b874b3b3')

build()
{
	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/

	install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/ipmiutil/LICENSE"
}