blob: 0cd66d833aaf81cbdb5bb19a8a486135ffaceb73 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acpica
pkgver=20160930
pkgrel=0
pkgdesc="ACPI Component Architecture utilities"
url="http://www.acpica.org/"
arch="all"
license="custom"
depends=""
makedepends="flex bison"
install=""
subpackages="$pkgname-doc iasl"
# license was found here:
# http://acpica.org/downloads/unix_source_code.php
source="https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar.gz
COPYING
disable-werror.patch"
builddir="$srcdir"/acpica-unix-$pkgver
build() {
cd "$builddir"
make || return 1
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
install -Dm644 "$srcdir"/COPYING \
"$pkgdir"/usr/share/licenses/acpica/COPYING || return 1
}
iasl() {
pkgdesc="ACPI ASL compiler"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/iasl "$subpkgdir"/usr/bin/
}
md5sums="cd355f3f1e21f2ee76ba6e91e0908a33 acpica-unix-20160930.tar.gz
7af813a48b9d1ce988aa72655f0fa61f COPYING
041de3f3d784d53d97da2491e1f9d03f disable-werror.patch"
sha256sums="8f69ac88fb14ef8dcdb6d5bcfb912115dead15d64cb06f78f44867d2e826c931 acpica-unix-20160930.tar.gz
7d265c08321b2cc95e3facf1089b28563a8c2b9a6730a380fc456da988c7c9a6 COPYING
0b368cfdd71390b139564eac079e0c3190f9acfe53247591494f616e0e752b59 disable-werror.patch"
sha512sums="82c8bc733c082e045f3087b3ffb82a828defe8702507534771aa00a84774bcd04f8b0eabd7e987c40f9dd8feff6ad8e9f272857428ed3accc2812fefbed5b024 acpica-unix-20160930.tar.gz
7999047808e26bd83696cf11641a2ba99a986d89ac861cc95d79a9849d1ae1aef7eb107b1c472f1e886cf6556a78554ed6cc7af269b1e2671f3445d1a7ced268 COPYING
066643cdf1beaa0ba4747e4973d5cc7a83c1e9a24acc142fa1525d4f1340ff3a7133a9fff139abe0f409faed88d0e1479eed5ce14b82e37ff46e91a4421c2d4e disable-werror.patch"
|