diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gok |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gok')
-rw-r--r-- | extra/gok/PKGBUILD | 29 | ||||
-rw-r--r-- | extra/gok/gok.install | 22 | ||||
-rw-r--r-- | extra/gok/lm.patch | 12 |
3 files changed, 63 insertions, 0 deletions
diff --git a/extra/gok/PKGBUILD b/extra/gok/PKGBUILD new file mode 100644 index 000000000..062ce91b4 --- /dev/null +++ b/extra/gok/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 92436 2010-09-29 22:05:23Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gok +pkgver=2.30.1 +pkgrel=1 +pkgdesc="Gnome Onscreen Keyboard" +arch=(i686 x86_64) +license=('GPL') +url="http://www.gnome.org" +depends=('gnome-speech>=0.4.25' 'at-spi>=1.32' 'libwnck>=2.30.5' 'hicolor-icon-theme' 'libcanberra>=0.25' 'gconf>=2.32.0') +makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.0') +options=('!emptydirs') +groups=('gnome-extra') +install=gok.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('6422dedb80c2cb3d5ee47238227960dc0e6dde0d0d1351cc7d11de06089c36c0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gok ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/gok/gok.install b/extra/gok/gok.install new file mode 100644 index 000000000..d3d5a9bae --- /dev/null +++ b/extra/gok/gok.install @@ -0,0 +1,22 @@ +pkgname=gok + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} diff --git a/extra/gok/lm.patch b/extra/gok/lm.patch new file mode 100644 index 000000000..b74ce19b7 --- /dev/null +++ b/extra/gok/lm.patch @@ -0,0 +1,12 @@ +diff -up gok-2.27.2/gok/Makefile.in.lm gok-2.27.2/gok/Makefile.in +--- gok-2.27.2/gok/Makefile.in.lm 2009-06-13 00:59:29.162580117 -0400 ++++ gok-2.27.2/gok/Makefile.in 2009-06-13 00:59:11.583583888 -0400 +@@ -374,7 +374,7 @@ INCLUDES = -DGOK_LOCALEDIR=\""$(datadir) + -DDATADIR=\""$(datadir)"\" -DLIBDIR=\""$(libdir)"\" \ + -I$(top_srcdir) -I$(top_builddir) $(GOK_CFLAGS) \ + $(am__append_1) +-LDADD = $(GOK_LIBS) $(X_LIBS) @LT_VERSION_INFO@ $(am__append_2) ++LDADD = $(GOK_LIBS) $(X_LIBS) -lm @LT_VERSION_INFO@ $(am__append_2) + gok_LDFLAGS = -export-dynamic + gok_SOURCES = callbacks.c callbacks.h gok-branchback-stack.c \ + gok-branchback-stack.h gok-button.c gok-button.h gok-chunker.c \ |