summaryrefslogtreecommitdiff
path: root/community/libacpi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libacpi/PKGBUILD')
-rw-r--r--community/libacpi/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/libacpi/PKGBUILD b/community/libacpi/PKGBUILD
index f2448bae9..26c930902 100644
--- a/community/libacpi/PKGBUILD
+++ b/community/libacpi/PKGBUILD
@@ -1,21 +1,23 @@
-# $Id: PKGBUILD 11341 2010-02-09 23:06:14Z dgriffiths $
+# $Id: PKGBUILD 57009 2011-10-18 09:29:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=libacpi
pkgver=0.2
-pkgrel=2.1
+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)
-md5sums=('05b53dd7bead66dda35fec502b91066c')
+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}"
-
- make PREFIX=/usr || return 1
+ patch -p1 <$srcdir/libacpi_${pkgver}-4.diff
+ make PREFIX=/usr
make PREFIX=/usr DESTDIR="${pkgdir}" install
}