# Contributor: Roger Pau Monne # Maintainer: Natanael Copa pkgname=acpica pkgver=20200214 pkgrel=0 pkgdesc="ACPI Component Architecture utilities" url="https://www.acpica.org" arch="all" license="GPL-2.0-only OR BSD-3-Clause OR Intel-ACPI" makedepends="flex bison" subpackages="iasl" options="!check" source="https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar.gz disable-werror.patch " builddir="$srcdir"/acpica-unix-$pkgver build() { make } package() { make install DESTDIR="$pkgdir" } iasl() { pkgdesc="ACPI ASL compiler" mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/iasl "$subpkgdir"/usr/bin/ } sha512sums="d41692bad249ce300acc5b581723f1ddb077254a15448351738ad4b2639772c79d440befb22018b8927a83a2b69bb0325e6e5b6bbfd2215586435c6cea91f914 acpica-unix-20200214.tar.gz 1f5049568d612d4debf3690e0d918d8d56abbed14ade7b2e6282eba17b25934b695d1a9fe10f99469efe8d4382c4546481d0579afdf5cdb9695fcdc93559fbab disable-werror.patch"