From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/keytouch-editor/ChangeLog | 8 +++++++ extra/keytouch-editor/PKGBUILD | 25 ++++++++++++++++++++++ .../keytouch-editor-3.1.3-glibc28.patch | 12 +++++++++++ extra/keytouch-editor/keytouch-editor.install | 10 +++++++++ 4 files changed, 55 insertions(+) create mode 100644 extra/keytouch-editor/ChangeLog create mode 100644 extra/keytouch-editor/PKGBUILD create mode 100644 extra/keytouch-editor/keytouch-editor-3.1.3-glibc28.patch create mode 100644 extra/keytouch-editor/keytouch-editor.install (limited to 'extra/keytouch-editor') 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 + + * 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 +# 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 +} -- cgit v1.2.3-54-g00ecf