#Maintainer: Max Boon (maximus) pkgname=linuxwacom pkgver=0.8.4.1 pkgrel=1mb arch=i486 source=("http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.4-1.tar.bz2") docs=('authors' 'copying' 'changelog' 'install' 'news' 'notes' 'readme' 'todo') url="http://linuxwacom.sourceforge.net/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "linuxwacom - Wacom tablet driver for linux" "The Linux Wacom Project manages the drivers, libraries, and" "documentation for configuring and running Wacom tablets under the" "Linux operating system. It contains diagnostic applications as well as" "updated kernel drivers and XFree86/Xorg XInput drivers." ) build() { cd $startdir/src/$pkgname-0.8.4-1 ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-x --enable-wacom make || return 1 make DESTDIR=$startdir/pkg install #install udev rules mkdir -p $startdir/pkg/lib/udev/rules.d cp $startdir/src/$pkgname-0.8.4-1/src/util/60-wacom.rules $startdir/pkg/lib/udev/rules.d/60-wacom.rules #repeat pre_permissions to fix permissions problem cd $startdir/pkg find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; find . -perm 444 -exec chmod 644 {} \; find . -perm 400 -exec chmod 644 {} \; find . -perm 440 -exec chmod 644 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 775 -exec chmod 755 {} \; find . -perm 511 -exec chmod 755 {} \; find . -perm 711 -exec chmod 755 {} \; find . -perm 555 -exec chmod 755 {} \; }