summaryrefslogtreecommitdiff
path: root/extra/keytouch-editor/PKGBUILD
blob: e32eb7ff4690cd184a682b1e739db75187e612f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $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=2
pkgdesc="An utility to create keyboard files for keytouch"
arch=('i686' 'x86_64' 'mips64el')
url="http://keytouch.sourceforge.net/"
license=('GPL')
depends=('gtk2')
install=keytouch-editor.install
source=(http://downloads.sourceforge.net/keytouch/${pkgname}-${pkgver}.tar.gz keytouch-editor-3.1.3-glibc28.patch)
md5sums=('046e0525d2b1275f1ec1b5140bd93565' 'def8cf803d7f25dd919b8ad090083bf1')
sha1sums=('a8c0b28bac4b1f9de3897e1a78dc14b4d994334e' 'c6b725267a628cfc93388044cfd72974f53debaf')

build() {
  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
}