summaryrefslogblamecommitdiff
path: root/user/libwacom/APKBUILD
blob: c99e8605aca447ddf1ace6cc366cae8950393cec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                 
           
        






                                        
                                       


                                                                                                          

         








                                 



                  
                                      
                                                      
                                   


                                                                  
                                                                                                                                                                   
                                                                                                                                                     
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libwacom
pkgver=0.33
pkgrel=2
pkgdesc="Tablet description library"
url="http://linuxwacom.sourceforge.net/"
arch="all"
license="MIT"
depends=""
makedepends="libgudev-dev"
checkdepends="bash findutils"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/linuxwacom/libwacom/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2
	fix-database.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -dm755 "$pkgdir"/usr/lib/udev/rules.d/
	tools/generate-udev-rules \
		> "$pkgdir"/usr/lib/udev/rules.d/65-libwacom.rules
}

sha512sums="de4d9cf3b5f4d87a159ba8ee617bafce9d13b67dc23d9dc67efd57317b0df2079dd0de328bc800de47f14ee49ea82bb842e34297cef23ba336c1ddca3afa826d  libwacom-0.33.tar.bz2
db07a7c44bd7ed010eec167d5e7cd807da203f8d42630855189b7c7e91ef6776b7df571ee0b0a0985912f836640fcf458ee4a394a47e9e8365892a6a137a3f00  fix-database.patch"