aboutsummaryrefslogtreecommitdiffstats
path: root/main/acpica/APKBUILD
blob: b8a05ffb705ff28b078177b3165a6409304e0123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acpica
pkgver=20200430
pkgrel=0
pkgdesc="ACPI Component Architecture utilities"
url="https://www.acpica.org"
arch="all !mips64"
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="91702b63616bef07a3e3cde2c8c3812345ddffba477d8dff3874332f8d1295ac0d565885e4f5b3d06e439272892172b2fd46a2dd0ae7012fcadbfba682c0b4e1  acpica-unix-20200430.tar.gz
1f5049568d612d4debf3690e0d918d8d56abbed14ade7b2e6282eba17b25934b695d1a9fe10f99469efe8d4382c4546481d0579afdf5cdb9695fcdc93559fbab  disable-werror.patch"