summaryrefslogtreecommitdiff
path: root/community/acpid
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-25 00:02:31 +0000
committerroot <root@rshg054.dnsready.net>2012-03-25 00:02:31 +0000
commit891f44722456b693d99b397f7e332a9ed68a47a2 (patch)
tree84b486efdd046bf1ac54f9288d13a443874be342 /community/acpid
parentadac5afd500d4ee3a65035e1cf5353ae236b4a61 (diff)
Sun Mar 25 00:02:31 UTC 2012
Diffstat (limited to 'community/acpid')
-rw-r--r--community/acpid/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/acpid/PKGBUILD b/community/acpid/PKGBUILD
index 152a80649..66537479d 100644
--- a/community/acpid/PKGBUILD
+++ b/community/acpid/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 67553 2012-03-13 12:19:58Z seblu $
+# $Id: PKGBUILD 68371 2012-03-23 10:07:50Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: xduugu
# Contributor: Manolis Tzanidakis
# Contributor: Jonathan Schmidt <j.schmidt@archlinux.us
pkgname=acpid
-pkgver=2.0.14
-pkgrel=2
+pkgver=2.0.15
+pkgrel=1
pkgdesc='A daemon for delivering ACPI power management events with netlink support'
arch=('i686' 'x86_64')
url='http://tedfelix.com/linux/acpid-netlink.html'
@@ -15,12 +15,12 @@ depends=('bash')
optdepends=('perl: use perl based examples')
replaces=('acpid2')
backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything' 'etc/conf.d/acpid')
-source=("http://www.tedfelix.com/linux/$pkgname-$pkgver.tar.gz"
+source=("http://www.tedfelix.com/linux/$pkgname-$pkgver.tar.xz"
'acpid'
'anything'
'handler.sh'
'acpid.conf.d')
-md5sums=('14fc1eabc3489f3ded9347fcd55f158a'
+md5sums=('1b1c8775adab6a994a386c45af6b86dc'
'd69203a032c4583f9abaafcf21a7ed84'
'2d37b98d6e74bab815604b8b48c6cfd4'
'615439f4a89716c747907d4fc3c8df75'
@@ -28,19 +28,20 @@ md5sums=('14fc1eabc3489f3ded9347fcd55f158a'
build() {
cd $pkgname-$pkgver
+ ./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
install -Dm755 ../acpid "$pkgdir/etc/rc.d/acpid"
install -Dm644 ../anything "$pkgdir/etc/acpi/events/anything"
install -Dm755 ../handler.sh "$pkgdir/etc/acpi/handler.sh"
install -Dm644 ../acpid.conf.d "$pkgdir/etc/conf.d/acpid"
- chmod 755 "${pkgdir}"/usr/sbin/acpid
+ chmod 755 "$pkgdir"/usr/sbin/acpid
}
# vim:set ts=2 sw=2 ft=sh et: