summaryrefslogtreecommitdiff
path: root/community/acpid/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/acpid/PKGBUILD')
-rw-r--r--community/acpid/PKGBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/community/acpid/PKGBUILD b/community/acpid/PKGBUILD
deleted file mode 100644
index 0b3ff7969..000000000
--- a/community/acpid/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 91937 2013-05-29 23:05:51Z seblu $
-# Maintainer: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Manolis Tzanidakis
-# Contributor: Jonathan Schmidt <j.schmidt@archlinux.us
-
-pkgname=acpid
-pkgver=2.0.19
-pkgrel=1
-pkgdesc='A daemon for delivering ACPI power management events with netlink support'
-arch=('i686' 'x86_64')
-url='http://sourceforge.net/projects/acpid2/'
-license=('GPL')
-depends=('bash')
-optdepends=('perl: use perl based examples')
-replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
- 'acpid.socket'
- 'acpid.service'
- 'anything'
- 'handler.sh')
-md5sums=('0b07a982e3e28cf37645f2c6269af72e'
- 'd11700eb136e0489835ddaf977a7905b'
- '79cc7a9dceacdeffd51f070c2ba5f023'
- '2d37b98d6e74bab815604b8b48c6cfd4'
- '47f44ff5f02685dce8bcdab8568f0c38')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sbindir=/usr/bin
- make
-}
-
-package() {
- pushd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- popd
-
- # default config
- install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
- install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
-
- # systemd
- install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
- install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-
- # fix acpid rights
- chmod 755 "$pkgdir/usr/bin/acpid"
-}
-
-# vim:set ts=2 sw=2 et: