desktop/synaptiks/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

37 lines
1.3 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
#Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
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"
}