summaryrefslogtreecommitdiff
path: root/testing/mousetweaks
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-19 08:15:39 -0700
committerroot <root@rshg054.dnsready.net>2012-10-19 08:15:39 -0700
commitdcc55a1cfa32068d0759c1c8307f6c07c11aec99 (patch)
tree2f6cd8ae52f7f49ed4ac2db1b0f4bf88a8ba5d96 /testing/mousetweaks
parent9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff)
Fri Oct 19 08:15:38 PDT 2012
Diffstat (limited to 'testing/mousetweaks')
-rw-r--r--testing/mousetweaks/PKGBUILD30
-rw-r--r--testing/mousetweaks/mousetweaks.install17
2 files changed, 47 insertions, 0 deletions
diff --git a/testing/mousetweaks/PKGBUILD b/testing/mousetweaks/PKGBUILD
new file mode 100644
index 000000000..4dddd4cb5
--- /dev/null
+++ b/testing/mousetweaks/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 2392 2008-06-01 19:38:25Z jgc $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=mousetweaks
+pkgver=3.6.0
+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=('2c48f655c5b53615270503fd1631e0cf7baa5872b20f75af8608983f039c5cfc')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd $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
+}