summaryrefslogtreecommitdiff
path: root/community/libacpi/PKGBUILD
blob: f2448bae9aa2ee9744c7bbdf2320b2f4231d2333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 11341 2010-02-09 23:06:14Z dgriffiths $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=libacpi
pkgver=0.2
pkgrel=2.1
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')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make PREFIX=/usr || return 1
  make PREFIX=/usr DESTDIR="${pkgdir}" install
}