summaryrefslogtreecommitdiff
path: root/user/libwacom
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 23:56:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 23:56:32 -0500
commit3a7b5272d448ece9a7b541d520323ca1642b113b (patch)
treef65b82bfef300be2ab25ec217413e33566923540 /user/libwacom
parent2a4c4b0708f851025aa96fcb65c2adae8fba4317 (diff)
downloadpackages-3a7b5272d448ece9a7b541d520323ca1642b113b.tar.gz
packages-3a7b5272d448ece9a7b541d520323ca1642b113b.tar.bz2
packages-3a7b5272d448ece9a7b541d520323ca1642b113b.tar.xz
packages-3a7b5272d448ece9a7b541d520323ca1642b113b.zip
user/libwacom: pull in, bump heavily, take, fix
Diffstat (limited to 'user/libwacom')
-rw-r--r--user/libwacom/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libwacom/APKBUILD b/user/libwacom/APKBUILD
new file mode 100644
index 000000000..a98f8bcc0
--- /dev/null
+++ b/user/libwacom/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Ivan Tham <pickfire@riseup.net>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libwacom
+pkgver=0.30
+pkgrel=0
+pkgdesc="Tablet description library"
+url="http://linuxwacom.sourceforge.net/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="libgudev-dev"
+checkdepends="bash findutils"
+install=""
+subpackages="$pkgname-dev"
+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="863df2bca6778181b8cbe2546d4766143f78b3f9e555d6ac62ffe7f6ce53729dd78badfd1d795f217b0d4a335b600921932850c1ca2bfe832614bf22f93e09ae libwacom-0.30.tar.bz2"