aboutsummaryrefslogblamecommitdiffstats
path: root/main/acpica/APKBUILD
blob: 9ee661444ac21fa51813cb15a81324af7c2bba27 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        
                                                   
              
               
        
                                               
                            
          
                
          
                        
          
                               

                                                  
                                                                        

                             
 
                                      

         

                        


           
                      
                                      

                                                                       

 






                                                       
                                                                      

                                                       
                                                                                                         

                                                                                       
                                                                                                                                                                         

                                                                                                                                                       
# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acpica
pkgver=20160831
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="09d7d59b92ad41e1a5e4f6adb043513c  acpica-unix-20160831.tar.gz
7af813a48b9d1ce988aa72655f0fa61f  COPYING
041de3f3d784d53d97da2491e1f9d03f  disable-werror.patch"
sha256sums="daffe24291ff78dbcabff27fad325477b228cc04f9d68e1a7ae9e93e1ef8407e  acpica-unix-20160831.tar.gz
7d265c08321b2cc95e3facf1089b28563a8c2b9a6730a380fc456da988c7c9a6  COPYING
0b368cfdd71390b139564eac079e0c3190f9acfe53247591494f616e0e752b59  disable-werror.patch"
sha512sums="2af6044adc9fcb63954c56bd4db4eabd2147132ba750a0255f5f2e51139f561c67d6daea5b25113e8c5c438f4db8082e8632be66dd21a471104d5b9d7604c5d6  acpica-unix-20160831.tar.gz
7999047808e26bd83696cf11641a2ba99a986d89ac861cc95d79a9849d1ae1aef7eb107b1c472f1e886cf6556a78554ed6cc7af269b1e2671f3445d1a7ced268  COPYING
066643cdf1beaa0ba4747e4973d5cc7a83c1e9a24acc142fa1525d4f1340ff3a7133a9fff139abe0f409faed88d0e1479eed5ce14b82e37ff46e91a4421c2d4e  disable-werror.patch"