summaryrefslogtreecommitdiff
path: root/community/acpi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-06 00:01:33 +0000
committerroot <root@rshg054.dnsready.net>2012-03-06 00:01:33 +0000
commitb8afacf1f28ac27321feb9b92bd50dd8961b7736 (patch)
treede441882aca38091a1e438e1d8da8a9af3bd023a /community/acpi
parent11711de1942a141f28faef695c4c78c8357fbf23 (diff)
Tue Mar 6 00:01:33 UTC 2012
Diffstat (limited to 'community/acpi')
-rw-r--r--community/acpi/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/acpi/PKGBUILD b/community/acpi/PKGBUILD
new file mode 100644
index 000000000..634c26b0f
--- /dev/null
+++ b/community/acpi/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 148027 2012-01-30 03:41:28Z dan $
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+
+pkgname=acpi
+pkgver=1.6
+pkgrel=1
+pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/acpiclient"
+depends=('glibc')
+source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
+license=('GPL2')
+sha256sums=('ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}