# Contributor: Roger Pau Monne # Maintainer: Natanael Copa setvar pkgname = 'acpica' setvar pkgver = '20170303' setvar pkgrel = '0' setvar pkgdesc = ""ACPI Component Architecture utilities"" setvar url = ""http://www.acpica.org/"" setvar arch = ""all"" setvar license = ""custom"" setvar depends = """" setvar makedepends = ""flex bison"" setvar install = """" setvar subpackages = ""$pkgname-doc iasl"" setvar options = ""!check"" # license was found here: # http://acpica.org/downloads/unix_source_code.php setvar source = ""https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar.gz disable-werror.patch COPYING "" setvar builddir = ""$srcdir"/acpica-unix-$pkgver" proc build { cd $builddir make || return 1 } proc package { cd $builddir make install DESTDIR="$pkgdir" install -Dm644 "$srcdir"/COPYING \ "$pkgdir"/usr/share/licenses/acpica/COPYING || return 1 } proc iasl { setvar pkgdesc = ""ACPI ASL compiler"" mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/iasl "$subpkgdir"/usr/bin/ } setvar sha512sums = ""efe4e59b10e297f65828f2f397082920d4f171c8847057514b2c3982e4fac111a55a932de41f01d4b54bc7ea1022d3feb682b8fc2c51878410898ea1b5f7602b acpica-unix-20170303.tar.gz 1f5049568d612d4debf3690e0d918d8d56abbed14ade7b2e6282eba17b25934b695d1a9fe10f99469efe8d4382c4546481d0579afdf5cdb9695fcdc93559fbab disable-werror.patch 7999047808e26bd83696cf11641a2ba99a986d89ac861cc95d79a9849d1ae1aef7eb107b1c472f1e886cf6556a78554ed6cc7af269b1e2671f3445d1a7ced268 COPYING""