summaryrefslogtreecommitdiff
path: root/community/acpid/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-25 00:06:28 -0800
committerroot <root@rshg054.dnsready.net>2013-01-25 00:06:28 -0800
commitef71629a65f6e8052d66775f07b079bf08322476 (patch)
treeedd2ad98fa5697fc7a95e3eed0a8902656e55fde /community/acpid/PKGBUILD
parent570e3637e2a4ba372dabbbbb8953d7b4ccdcaa39 (diff)
Fri Jan 25 00:06:28 PST 2013
Diffstat (limited to 'community/acpid/PKGBUILD')
-rw-r--r--community/acpid/PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/community/acpid/PKGBUILD b/community/acpid/PKGBUILD
index f08eee579..9f477998c 100644
--- a/community/acpid/PKGBUILD
+++ b/community/acpid/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77739 2012-10-14 03:02:21Z seblu $
+# $Id: PKGBUILD 82787 2013-01-24 12:57:51Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: xduugu
# Contributor: Manolis Tzanidakis
@@ -6,7 +6,7 @@
pkgname=acpid
pkgver=2.0.17
-pkgrel=3
+pkgrel=4
pkgdesc='A daemon for delivering ACPI power management events with netlink support'
arch=('i686' 'x86_64')
url='http://tedfelix.com/linux/acpid-netlink.html'
@@ -14,24 +14,23 @@ license=('GPL')
depends=('bash')
optdepends=('perl: use perl based examples')
replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything' 'etc/conf.d/acpid')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
source=("http://www.tedfelix.com/linux/$pkgname-$pkgver.tar.xz"
- 'acpid.rc'
- 'acpid.conf'
'acpid.socket'
'acpid.service'
'anything'
- 'handler.sh')
+ 'handler.sh'
+ '0001-Fix-format-of-video-tabletmode-event-string.patch')
md5sums=('d858729b7d984c5e3a0c7558e9de1584'
- '077475c75fbdd9de75f9a397130ccd91'
- '929c6d2e91295c22ed9ec6212d7eabef'
'ee6cb99e50e580c50331a73045412ae9'
- '7f545754db5be7296d2dd97c049062ee'
+ '10290f69491206cd104654e5b900b661'
'2d37b98d6e74bab815604b8b48c6cfd4'
- '47f44ff5f02685dce8bcdab8568f0c38')
+ '47f44ff5f02685dce8bcdab8568f0c38'
+ 'a813e00553104f2129f64cae95a7983f')
build() {
cd $pkgname-$pkgver
+ patch -p1 -i "$srcdir/0001-Fix-format-of-video-tabletmode-event-string.patch"
./configure --prefix=/usr
make
}
@@ -45,9 +44,7 @@ package() {
install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
- # initscripts
- install -Dm755 acpid.rc "$pkgdir/etc/rc.d/acpid"
- install -Dm644 acpid.conf "$pkgdir/etc/conf.d/acpid"
+ # systemd
install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
@@ -55,4 +52,4 @@ package() {
chmod 755 "$pkgdir/usr/sbin/acpid"
}
-# vim:set ts=2 sw=2 ft=sh et:
+# vim:set ts=2 sw=2 et: