blob: 52326df1f806e99516df4dea90acde6c04e8eea4 (
plain) (
tree)
|
|
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libwacom
pkgver=0.33
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() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static
make
# conflicts with TS-6610 tablet
rm "$builddir"/data/huion-h420.tablet
rm "$builddir"/data/layouts/huion-h420.svg
}
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"
|