summaryrefslogtreecommitdiff
path: root/community/acpitool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/acpitool/PKGBUILD')
-rw-r--r--community/acpitool/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/acpitool/PKGBUILD b/community/acpitool/PKGBUILD
new file mode 100644
index 000000000..51050e0e6
--- /dev/null
+++ b/community/acpitool/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 24573 2010-08-26 12:50:31Z lcarlier $
+# 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=2
+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)
+depends=('gcc-libs')
+md5sums=('9e4ec55201be0be71ffbc56d38b42b57')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make prefix="$pkgdir/usr" install
+}