# $Id: PKGBUILD 104510 2014-01-22 06:49:46Z lcarlier $ # Maintainer : Laurent Carlier # Contributor: Giovanni Scafora # Contributor: Alessio 'mOlOk' Bolognino pkgname=iasl pkgver=20140114 pkgrel=1 pkgdesc="Intel ACPI Source Language compiler" arch=('i686' 'x86_64' 'mips64el') url="http://acpica.org" license=('custom') depends=('glibc') makedepends=('flex' 'bison') options=('!makeflags') #install=iasl.install source=(http://acpica.org/sites/acpica/files/acpica-unix-${pkgver}.tar.gz LICENSE) md5sums=('77d5aaa723b98314dae80cac1b33514d' '8615526144f69ea4e870d9bc37df9b29') build() { cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix #sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config make clean make # if [[ $CARCH == i686 ]]; then # make BITS=32 # else # make BITS=64 # fi } package() { cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix make DESTDIR=${pkgdir} install install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }