diff options
Diffstat (limited to 'extra/keytouch-editor')
-rw-r--r-- | extra/keytouch-editor/PKGBUILD | 23 | ||||
-rw-r--r-- | extra/keytouch-editor/keytouch-editor.install | 6 |
2 files changed, 14 insertions, 15 deletions
diff --git a/extra/keytouch-editor/PKGBUILD b/extra/keytouch-editor/PKGBUILD index 19addfe4e..7f43ca092 100644 --- a/extra/keytouch-editor/PKGBUILD +++ b/extra/keytouch-editor/PKGBUILD @@ -1,10 +1,9 @@ -# $Id: PKGBUILD 3507 2008-06-23 04:35:20Z eric $ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Contributor: mouse256 & AndyRTR +# $Id: PKGBUILD 122686 2011-05-06 05:33:49Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=keytouch-editor pkgver=3.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="An utility to create keyboard files for keytouch" arch=('i686' 'x86_64') url="http://keytouch.sourceforge.net/" @@ -16,10 +15,14 @@ md5sums=('046e0525d2b1275f1ec1b5140bd93565' 'def8cf803d7f25dd919b8ad090083bf1') sha1sums=('a8c0b28bac4b1f9de3897e1a78dc14b4d994334e' 'c6b725267a628cfc93388044cfd72974f53debaf') build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -p1 < ../keytouch-editor-3.1.3-glibc28.patch || return 1 - autoreconf || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR=${pkgdir} install || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../keytouch-editor-3.1.3-glibc28.patch + autoreconf + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/extra/keytouch-editor/keytouch-editor.install b/extra/keytouch-editor/keytouch-editor.install index 8a684997a..e1f991f31 100644 --- a/extra/keytouch-editor/keytouch-editor.install +++ b/extra/keytouch-editor/keytouch-editor.install @@ -1,10 +1,6 @@ post_install() { cat << EOF ==> To use keytouch-editor: -You'll need to have either gksu (pacman -S gksu) or kdesu (pacman -S kdebase) installed. +==> You'll need to have either gksu (pacman -S gksu) or kdesu (pacman -S kdebase-runtime) installed. EOF } - -post_upgrade() { - post_install $1 -} |