summaryrefslogtreecommitdiff
path: root/extra/caribou
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-02 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-10-02 23:14:32 +0000
commitad84169d66d20378d28533c216b73c9a6646d6d7 (patch)
tree2746e102687e113dd81d632b51933b62ff458934 /extra/caribou
parent0f78806d775c4d46c649425fcb67964d53531db8 (diff)
Sun Oct 2 23:14:32 UTC 2011
Diffstat (limited to 'extra/caribou')
-rw-r--r--extra/caribou/PKGBUILD36
-rw-r--r--extra/caribou/caribou.install13
2 files changed, 49 insertions, 0 deletions
diff --git a/extra/caribou/PKGBUILD b/extra/caribou/PKGBUILD
new file mode 100644
index 000000000..ea9b5a6cc
--- /dev/null
+++ b/extra/caribou/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 139466 2011-10-01 23:23:01Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Adam Hani Schakaki <krzd@krzd.net>
+
+pkgname=caribou
+pkgver=0.4.0
+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=('at-spi2-atk' 'pyatspi' 'dbus-python' 'python2-gobject' 'gtk3' 'libxklavier' 'libgee' 'clutter' 'dconf')
+makedepends=('gnome-doc-utils' 'intltool')
+install=caribou.install
+options=(!libtool !emptydirs)
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.4/$pkgname-$pkgver.tar.xz)
+sha256sums=('9d9aeab26956371e9a8e807e2554be5ca08e32f6a27632598065cf2e85e66d16')
+
+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/extra/caribou/caribou.install b/extra/caribou/caribou.install
new file mode 100644
index 000000000..22ca274a5
--- /dev/null
+++ b/extra/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
+}