PKGBUILDs/community/iasl/PKGBUILD
2009-10-09 21:15:33 -05:00

39 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com>
pkgname=iasl
pkgver=20090625
pkgrel=1
pkgdesc="Intel ACPI Source Language compiler"
arch=('i686' 'x86_64')
url="http://acpica.org"
license=('custom')
depends=('glibc')
makedepends=('flex' 'bison')
install=iasl.install
source=(http://acpica.org/download/acpica-unix-${pkgver}.tar.gz LICENSE)
md5sums=('7268025b217556b1ddc10af6e9ce0e98'
'8615526144f69ea4e870d9bc37df9b29')
build() {
cd "${srcdir}/acpica-unix-${pkgver}/compiler"
make || return 1
install -D -m755 iasl "${pkgdir}/usr/bin/iasl" || return 1
cd ../tools/acpisrc
make || return 1
install -m755 acpisrc "${pkgdir}/usr/bin" || return 1
#cd ../acpiexec
#make || return 1
#install -m755 acpiexec "${pkgdir}/usr/bin" || return 1
cd ../acpixtract
make || return 1
install -m755 acpixtract "${pkgdir}/usr/bin" || return 1
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}