desktop/synaptiks/PKGBUILD

37 lines
1.3 KiB
Bash
Raw Normal View History

2011-02-01 04:21:01 +08:00
#
2012-09-12 20:54:09 +08:00
# Apps Packages for Chakra, part of chakra-project.org
2011-02-01 04:21:01 +08:00
#
2012-09-12 20:54:09 +08:00
#Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2011-02-01 04:21:01 +08:00
pkgname=synaptiks
2012-08-31 22:39:08 +08:00
pkgver=0.8.1
2012-09-12 20:54:09 +08:00
pkgrel=2
2011-02-01 04:21:01 +08:00
pkgdesc="A touchpad tool for KDE."
arch=('i686' 'x86_64')
url="http://synaptiks.lunaryorn.de/"
license=('BSD')
2012-09-12 20:54:09 +08:00
depends=('kde-workspace' 'kdebindings-pykde4' 'xf86-input-synaptics' 'python-udev'
'dbus-python' 'python-distribute')
2012-08-31 22:39:08 +08:00
# makedepends=('kdesdk-scripts' 'gettext' 'docbook-xsl')
categories=('utils')
2012-08-31 22:39:08 +08:00
install=synaptiks.install
2012-09-12 20:54:09 +08:00
screenshot=('http://synaptiks.lunaryorn.de/en/0.8.1/_images/scrolling.png')
2012-08-31 22:39:08 +08:00
source=("http://pypi.python.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'pyudev-fix.patch')
md5sums=('4137a5c7a6117cf8f2073bfdb05466d6'
'9a1c930ff2d8fad6e986270141c3fb0a')
2011-02-01 04:21:01 +08:00
2012-08-31 22:39:08 +08:00
package() {
2011-06-28 03:22:15 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2012-08-31 22:39:08 +08:00
#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
2011-06-28 03:22:15 +08:00
install -m755 -d "$pkgdir/usr/share/licenses/synaptiks/"
install -m644 COPYING "$pkgdir/usr/share/licenses/synaptiks"
2011-10-09 02:38:29 +08:00
install -D -m644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
install -m644 CHANGES.rst "${pkgdir}/usr/share/doc/${pkgname}/CHANGES.rst"
2011-02-01 04:21:01 +08:00
}