summaryrefslogtreecommitdiff
path: root/community/libacpi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libacpi
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libacpi')
-rw-r--r--community/libacpi/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/libacpi/PKGBUILD b/community/libacpi/PKGBUILD
new file mode 100644
index 000000000..26c930902
--- /dev/null
+++ b/community/libacpi/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 57009 2011-10-18 09:29:14Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=libacpi
+pkgver=0.2
+pkgrel=3
+pkgdesc="general purpose lib to gather ACPI data"
+arch=(i686 x86_64)
+url="http://www.ngolde.de/libacpi.html"
+license=('GPL')
+depends=()
+options=(!emptydirs)
+source=(http://www.ngolde.de/download/${pkgname}-${pkgver}.tar.gz
+ http://ftp.de.debian.org/debian/pool/main/liba/libacpi/libacpi_${pkgver}-4.diff.gz)
+md5sums=('05b53dd7bead66dda35fec502b91066c'
+ '30ecd3c281dfe7e11670618fdd8e3c5b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 <$srcdir/libacpi_${pkgver}-4.diff
+ make PREFIX=/usr
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+}