diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 23:56:31 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 23:56:31 (GMT) |
commit | 35708e2950a8ac610aecd12a08a8c2feedbbb9bb (patch) | |
tree | cec4b617bb1461005bcf5e0b5670f40b705e15b1 /abs/extra-testing/libgnomekbd | |
parent | d7969d548ee525a940b68e7597e578dc2d9043a0 (diff) | |
download | linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.zip linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.tar.gz linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.tar.bz2 |
gnome-screensaver and all the extra stuff it requires.
This package seems to behave a bit better then xscreensaver.
gnome-desktop
gnome-menus
gnome-screensvaer
iso-codes
libgnomekbd
ligxklavier.
Diffstat (limited to 'abs/extra-testing/libgnomekbd')
-rw-r--r-- | abs/extra-testing/libgnomekbd/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/extra-testing/libgnomekbd/libgnomekbd.install | 17 |
2 files changed, 45 insertions, 0 deletions
diff --git a/abs/extra-testing/libgnomekbd/PKGBUILD b/abs/extra-testing/libgnomekbd/PKGBUILD new file mode 100644 index 0000000..b9ad8e9 --- /dev/null +++ b/abs/extra-testing/libgnomekbd/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 13643 2008-09-27 20:48:15Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libgnomekbd +pkgver=2.24.0 +pkgrel=1 +pkgdesc="Gnome keyboard library" +url="http://gswitchit.sourceforge.net" +arch=(i686 x86_64) +license=('LGPL') +depends=('libxklavier>=3.7' 'gconf>=2.24.0' 'libglade>=2.6.3') +makedepends=('perlxml' 'pkgconfig') +options=('!libtool' '!emptydirs') +install=libgnomekbd.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2) +md5sums=('43e4d090bc67a1984bebf551637783fd') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static || return 1 + make || return 1 + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/abs/extra-testing/libgnomekbd/libgnomekbd.install b/abs/extra-testing/libgnomekbd/libgnomekbd.install new file mode 100644 index 0000000..9fc9f55 --- /dev/null +++ b/abs/extra-testing/libgnomekbd/libgnomekbd.install @@ -0,0 +1,17 @@ +pkgname=libgnomekbd + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} |