updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / kcm_touchpad / PKGBUILD
blobf900de710b6c0f24db4d453994a6b1238f32e795
1 # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Dylon Edwards <deltaecho@archlinux.us>
4 pkgname=kcm_touchpad
5 pkgver=0.3.1
6 pkgrel=4
7 url='http://www.kde-apps.org/content/show.php/kcm_touchpad?content=113335'
8 pkgdesc='Synaptics driver based touchpads kcontrol module'
9 license=('GPL2')
10 arch=('i686' 'x86_64')
11 depends=('xf86-input-synaptics' 'kdelibs')
12 makedepends=('cmake' 'automoc4')
13 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mishaaq/${pkgname}/tarball/${pkgname}-${pkgver}")
14 md5sums=('f355a658d2e9267fdf4e8d8f88038bcf')
16 build(){        
17   cd mishaaq-${pkgname}-00370b5
18   cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) -DCMAKE_BUILD_TYPE=Release
19   sed -r -i 's/(X-KDE-System-Settings-Parent-Category=).*/\1input-devices/' touchpad.desktop
20   make
23 package() { 
24   cd mishaaq-${pkgname}-00370b5
25   make DESTDIR="${pkgdir}" install
28 # vim:set ts=2 sw=2 ft=sh et: