summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-03-28 20:56:14 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-03-28 20:56:14 (GMT)
commit04718cc9061f04d2b259f220023773f0456618f1 (patch)
tree10aa8739652903472de857443c99d338cebd853e /abs
parent99a4be6ea08d4049153d9cf61ad5810b64091350 (diff)
downloadlinhes_pkgbuild-04718cc9061f04d2b259f220023773f0456618f1.zip
linhes_pkgbuild-04718cc9061f04d2b259f220023773f0456618f1.tar.gz
linhes_pkgbuild-04718cc9061f04d2b259f220023773f0456618f1.tar.bz2
libwacom: initial inclusion. dep of libinput
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/libwacom/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/libwacom/PKGBUILD b/abs/extra/libwacom/PKGBUILD
new file mode 100644
index 0000000..f8b9cf6
--- /dev/null
+++ b/abs/extra/libwacom/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=libwacom
+pkgver=0.24
+pkgrel=1
+pkgdesc="Library to identify Wacom tablets and their features"
+arch=('x86_64' 'i686')
+url="https://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Libwacom"
+license=('MIT')
+depends=('glib2' 'systemd' 'libgudev')
+source=(https://sourceforge.net/projects/linuxwacom/files/libwacom/$pkgname-$pkgver.tar.bz2)
+sha1sums=('74d38e416fc7b91bbf3e163d40fe6ff688e6da51')
+sha256sums=('2905a0ee5cc85eceb9f5bd06109e66a051b0ed18102c3e6798717c259c8d66c3')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -m755 -d ${pkgdir}/usr/lib/udev/rules.d
+ cd tools
+ ./generate-udev-rules > ${pkgdir}/usr/lib/udev/rules.d/65-libwacom.rules
+
+}