summaryrefslogblamecommitdiff
path: root/user/libwacom/APKBUILD
blob: d2ab224f4cda47ebd5b61eff0529f90cc7048b7a (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.31
pkgrel=0
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"

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

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
	install -dm755 "$pkgdir"/usr/lib/udev/rules.d/
	tools/generate-udev-rules
		> "$pkgdir"/usr/lib/udev/rules.d/65-libwacom.rules
}

sha512sums="fb1fd470000bf3a620c4dd2293fff483bf6e1ffddaffc176e7b88f13d44347f4b322e1827b53ce61ae25e2d99f36c50767c201f38161498969c7c8215dad1c36  libwacom-0.31.tar.bz2"