summaryrefslogtreecommitdiff
path: root/gnome-unstable/libgnomekbd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-02 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-09-02 23:14:49 +0000
commitb37ee9de1a430956d9e5958ebd9d7e0dbfc79327 (patch)
tree087dd7d26bea36f9b3b7c485f9e8e8251cbe0423 /gnome-unstable/libgnomekbd
parenteb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 (diff)
Fri Sep 2 23:14:49 UTC 2011
Diffstat (limited to 'gnome-unstable/libgnomekbd')
-rw-r--r--gnome-unstable/libgnomekbd/PKGBUILD28
-rw-r--r--gnome-unstable/libgnomekbd/libgnomekbd.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/gnome-unstable/libgnomekbd/PKGBUILD b/gnome-unstable/libgnomekbd/PKGBUILD
new file mode 100644
index 000000000..348b94d79
--- /dev/null
+++ b/gnome-unstable/libgnomekbd/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 136774 2011-09-01 13:37:50Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libgnomekbd
+pkgver=3.1.90
+pkgrel=1
+pkgdesc="Gnome keyboard library"
+url="http://gswitchit.sourceforge.net"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('libxklavier>=5.1' 'gtk3' 'dconf')
+makedepends=('intltool' 'gobject-introspection')
+options=('!libtool' '!emptydirs')
+install=libgnomekbd.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('bbe4ee869c6d3feabe9610255918e632dcfc873a76c1a462b92be8154456afc6')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/gnome-unstable/libgnomekbd/libgnomekbd.install b/gnome-unstable/libgnomekbd/libgnomekbd.install
new file mode 100644
index 000000000..2ef26aaa9
--- /dev/null
+++ b/gnome-unstable/libgnomekbd/libgnomekbd.install
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}