# # Apps Packages for Chakra, part of chakra-project.org # #Maintainer: Neophytos Kolokotronis pkgname=synaptiks pkgver=0.8.1 pkgrel=2 pkgdesc="A touchpad tool for KDE." arch=('i686' 'x86_64') url="http://synaptiks.lunaryorn.de/" license=('BSD') depends=('kde-workspace' 'kdebindings-pykde4' 'xf86-input-synaptics' 'python-udev' 'dbus-python' 'python-distribute') # makedepends=('kdesdk-scripts' 'gettext' 'docbook-xsl') categories=('utils') install=synaptiks.install screenshot=('http://synaptiks.lunaryorn.de/en/0.8.1/_images/scrolling.png') source=("http://pypi.python.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 'pyudev-fix.patch') md5sums=('4137a5c7a6117cf8f2073bfdb05466d6' '9a1c930ff2d8fad6e986270141c3fb0a') package() { cd "${srcdir}/${pkgname}-${pkgver}" #Fix issue with bluetooth mouse: https://bugs.archlinux.org/task/31328 patch -p1 -i "${srcdir}"/pyudev-fix.patch python2 setup.py install --root "${pkgdir}" --optimize=1 install -m755 -d "$pkgdir/usr/share/licenses/synaptiks/" install -m644 COPYING "$pkgdir/usr/share/licenses/synaptiks" install -D -m644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst" install -m644 CHANGES.rst "${pkgdir}/usr/share/doc/${pkgname}/CHANGES.rst" }