summaryrefslogtreecommitdiff
path: root/gnome-unstable/caribou
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-04 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-09-04 23:14:34 +0000
commit6dee0a203a8290427ca77705bc1cae90381529b2 (patch)
treeeef4e102b2f44b6b52f0edc70b9dae278b80821c /gnome-unstable/caribou
parent3b18be1752c9fd9fa74eb1314ca97dd61e9ce912 (diff)
Sun Sep 4 23:14:34 UTC 2011
Diffstat (limited to 'gnome-unstable/caribou')
-rw-r--r--gnome-unstable/caribou/PKGBUILD36
-rw-r--r--gnome-unstable/caribou/caribou.install13
2 files changed, 49 insertions, 0 deletions
diff --git a/gnome-unstable/caribou/PKGBUILD b/gnome-unstable/caribou/PKGBUILD
new file mode 100644
index 000000000..df2fee8f6
--- /dev/null
+++ b/gnome-unstable/caribou/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 136946 2011-09-03 11:36:21Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Adam Hani Schakaki <krzd@krzd.net>
+
+pkgname=caribou
+pkgver=0.3.5
+pkgrel=2
+pkgdesc="A text entry and UI navigation application being developed as an alternative to the Gnome On-screen Keyboard."
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/Caribou"
+license=('LGPL')
+depends=('pyatspi' 'dbus-python' 'python2-gobject2' 'gtk3' 'libxklavier' 'libgee' 'dconf')
+makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection' 'python2-gobject' 'clutter')
+install=caribou.install
+options=(!libtool !emptydirs)
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.3/$pkgname-$pkgver.tar.xz)
+sha256sums=('729aa2e896a434490b9728911a1087013c829f7d41259684518e101abd90a9d4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i s'|#!/usr/bin/python|#!/usr/bin/python2|'g tools/{fix_gir,make_schema}.py
+ export PYTHON=/usr/bin/python2
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/caribou \
+ --disable-gtk2-module \
+ --disable-static \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/gnome-unstable/caribou/caribou.install b/gnome-unstable/caribou/caribou.install
new file mode 100644
index 000000000..22ca274a5
--- /dev/null
+++ b/gnome-unstable/caribou/caribou.install
@@ -0,0 +1,13 @@
+pkgname=caribou
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}