summaryrefslogtreecommitdiff
path: root/extra/keytouch-editor
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/keytouch-editor
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/keytouch-editor')
-rw-r--r--extra/keytouch-editor/ChangeLog8
-rw-r--r--extra/keytouch-editor/PKGBUILD25
-rw-r--r--extra/keytouch-editor/keytouch-editor-3.1.3-glibc28.patch12
-rw-r--r--extra/keytouch-editor/keytouch-editor.install10
4 files changed, 55 insertions, 0 deletions
diff --git a/extra/keytouch-editor/ChangeLog b/extra/keytouch-editor/ChangeLog
new file mode 100644
index 000000000..0503eb1f7
--- /dev/null
+++ b/extra/keytouch-editor/ChangeLog
@@ -0,0 +1,8 @@
+2008-06-22 Eric Belanger <eric@archlinux.org>
+
+ * keytouch-editor 3.1.3-1
+ * Patched for glibc 2.8
+ * Added to [extra] repo
+ * Added ChangeLog
+
+
diff --git a/extra/keytouch-editor/PKGBUILD b/extra/keytouch-editor/PKGBUILD
new file mode 100644
index 000000000..19addfe4e
--- /dev/null
+++ b/extra/keytouch-editor/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 3507 2008-06-23 04:35:20Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: mouse256 & AndyRTR
+
+pkgname=keytouch-editor
+pkgver=3.1.3
+pkgrel=1
+pkgdesc="An utility to create keyboard files for keytouch"
+arch=('i686' 'x86_64')
+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 || return 1
+ autoreconf || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+}
diff --git a/extra/keytouch-editor/keytouch-editor-3.1.3-glibc28.patch b/extra/keytouch-editor/keytouch-editor-3.1.3-glibc28.patch
new file mode 100644
index 000000000..885813feb
--- /dev/null
+++ b/extra/keytouch-editor/keytouch-editor-3.1.3-glibc28.patch
@@ -0,0 +1,12 @@
+diff -Naur keytouch-editor-3.1.3-orig/src/Makefile.am keytouch-editor-3.1.3/src/Makefile.am
+--- keytouch-editor-3.1.3-orig/src/Makefile.am 2008-06-22 22:47:34.000000000 -0400
++++ keytouch-editor-3.1.3/src/Makefile.am 2008-06-22 22:49:52.000000000 -0400
+@@ -9,7 +9,7 @@
+
+ bin_PROGRAMS = keytouch-editor-bin
+
+-AM_CFLAGS=@CFLAGS@ -Wall
++AM_CFLAGS=@CFLAGS@ -Wall -D_GNU_SOURCE
+
+ keytouch_editor_bin_SOURCES = \
+ main.c keytouch-editor.h \
diff --git a/extra/keytouch-editor/keytouch-editor.install b/extra/keytouch-editor/keytouch-editor.install
new file mode 100644
index 000000000..8a684997a
--- /dev/null
+++ b/extra/keytouch-editor/keytouch-editor.install
@@ -0,0 +1,10 @@
+post_install() {
+ cat << EOF
+==> To use keytouch-editor:
+You'll need to have either gksu (pacman -S gksu) or kdesu (pacman -S kdebase) installed.
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}