summaryrefslogtreecommitdiff
path: root/community/acpi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/acpi/PKGBUILD')
-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
+}