PKGBUILDs/community/acpitool/PKGBUILD

26 lines
789 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 1332 2009-08-16 10:25:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
# Contributor: Milosz Piglas <archeofuture@gmail.com>
pkgname=acpitool
pkgver=0.5.1
pkgrel=1
pkgdesc="ACPI client - replacement for apm tool"
url="http://sourceforge.net/projects/acpitool/"
arch=('i686' 'x86_64')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/acpitool/acpitool-$pkgver.tar.bz2 \
kernel_2.6.21.patch)
depends=(libstdc++5)
md5sums=('9e4ec55201be0be71ffbc56d38b42b57'
'b55eb498a323ca81ad5abe73cc608912')
build() {
cd $startdir/src/$pkgname-$pkgver
# patch -p1 -i ../kernel_2.6.21.patch
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}