diff options
author | root <root@rshg054.dnsready.net> | 2011-10-18 23:14:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-18 23:14:49 +0000 |
commit | 791dde5091677cd6370690f9df9fb7cbdcfe0968 (patch) | |
tree | 44b8403e7782995a56c22f0fdacd13b227667bb1 /testing/mousetweaks | |
parent | c4f201fd7208805c7ee00e0ee833d3cc505898ac (diff) |
Tue Oct 18 23:14:48 UTC 2011
Diffstat (limited to 'testing/mousetweaks')
-rw-r--r-- | testing/mousetweaks/PKGBUILD | 29 | ||||
-rw-r--r-- | testing/mousetweaks/mousetweaks.install | 17 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/mousetweaks/PKGBUILD b/testing/mousetweaks/PKGBUILD new file mode 100644 index 000000000..707fb70fa --- /dev/null +++ b/testing/mousetweaks/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 2392 2008-06-01 19:38:25Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=mousetweaks +pkgver=3.2.1 +pkgrel=1 +pkgdesc="Mouse accessibility enhancements for the GNOME desktop" +arch=(i686 x86_64) +license=('GPL3' 'FDL') +depends=('libxtst' 'gtk3' 'gsettings-desktop-schemas') +makedepends=('gnome-doc-utils' 'intltool') +groups=('gnome-extra') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org" +install=mousetweaks.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('6c1ec6780c8dcaa1e3a6a462f7870c4c91574067a4936727a40b011d46d47734') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/mousetweaks/mousetweaks.install b/testing/mousetweaks/mousetweaks.install new file mode 100644 index 000000000..1ae919322 --- /dev/null +++ b/testing/mousetweaks/mousetweaks.install @@ -0,0 +1,17 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +pre_upgrade() { + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall mousetweaks + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |