summaryrefslogtreecommitdiff
path: root/extra/libgnomekbd
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
committerroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
commit40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch)
treefaeb03af48db54c663f74f3f188b9c1c56ca6a0b /extra/libgnomekbd
parentc173ac862828a54925737fc1d90ede1dd09a312c (diff)
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'extra/libgnomekbd')
-rw-r--r--extra/libgnomekbd/PKGBUILD22
-rw-r--r--extra/libgnomekbd/libgnomekbd.install12
2 files changed, 14 insertions, 20 deletions
diff --git a/extra/libgnomekbd/PKGBUILD b/extra/libgnomekbd/PKGBUILD
index 8f7640786..a1984e5a8 100644
--- a/extra/libgnomekbd/PKGBUILD
+++ b/extra/libgnomekbd/PKGBUILD
@@ -1,28 +1,28 @@
-# $Id: PKGBUILD 91776 2010-09-27 21:05:35Z ibiru $
+# $Id: PKGBUILD 118220 2011-04-06 06:15:37Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libgnomekbd
-pkgver=2.32.0
+pkgver=3.0.0.1
pkgrel=1
pkgdesc="Gnome keyboard library"
url="http://gswitchit.sourceforge.net"
arch=('i686' 'x86_64')
license=('LGPL')
-depends=('libxklavier>=5.0' 'gconf>=2.32.0')
-makedepends=('intltool' 'pkg-config')
+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}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('ddd52c4cc7d83ad7ef964a1bcb4db87407e65b00ffc3e70c088ca4ee7383d256')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('727293963847761b7942d9c5c195c317a5f5f18585ebc6d348147924242902e9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
+ --disable-schemas-compile
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 libgnomekbd ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/libgnomekbd/libgnomekbd.install b/extra/libgnomekbd/libgnomekbd.install
index 9fc9f556e..2ef26aaa9 100644
--- a/extra/libgnomekbd/libgnomekbd.install
+++ b/extra/libgnomekbd/libgnomekbd.install
@@ -1,17 +1,11 @@
-pkgname=libgnomekbd
-
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove $1
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
}
post_upgrade() {
post_install $1
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
+post_remove() {
+ post_install $1
}