summaryrefslogtreecommitdiff
path: root/community/acpi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/acpi/PKGBUILD')
-rw-r--r--community/acpi/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/community/acpi/PKGBUILD b/community/acpi/PKGBUILD
index 9ea5236c1..035cfaa00 100644
--- a/community/acpi/PKGBUILD
+++ b/community/acpi/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 148027 2012-01-30 03:41:28Z dan $
+# $Id: PKGBUILD 103278 2014-01-02 12:22:39Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=acpi
-pkgver=1.6
-pkgrel=1.1
-pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
+pkgver=1.7
+pkgrel=1
+pkgdesc='Client for battery, power, and thermal readings'
arch=('i686' 'x86_64' 'mips64el')
-url="http://sourceforge.net/projects/acpiclient"
-depends=('glibc')
-source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
+url='http://sourceforge.net/projects/acpiclient/'
license=('GPL2')
-sha256sums=('ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31')
+depends=('glibc')
+source=("http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz")
+sha256sums=('d7a504b61c716ae5b7e81a0c67a50a51f06c7326f197b66a4b823de076a35005')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+
./configure --prefix=/usr
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ make -C "$pkgname-$pkgver" DESTDIR"=$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et: