[arch-commits] Commit in mousetweaks/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:36:03 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:36:02
  Author: heftig
Revision: 155223

db-move: moved mousetweaks from [gnome-unstable] to [testing] (i686)

Added:
  mousetweaks/repos/testing-i686/
  mousetweaks/repos/testing-i686/PKGBUILD
    (from rev 155005, mousetweaks/repos/gnome-unstable-i686/PKGBUILD)
  mousetweaks/repos/testing-i686/mousetweaks.install
    (from rev 155005, mousetweaks/repos/gnome-unstable-i686/mousetweaks.install)
Deleted:
  mousetweaks/repos/gnome-unstable-i686/

---------------------+
 PKGBUILD            |   30 ++++++++++++++++++++++++++++++
 mousetweaks.install |   17 +++++++++++++++++
 2 files changed, 47 insertions(+)

Copied: mousetweaks/repos/testing-i686/PKGBUILD (from rev 155005, mousetweaks/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:36:02 UTC (rev 155223)
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 2392 2008-06-01 19:38:25Z jgc $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com> 
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=mousetweaks
+pkgver=3.4.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=('f44711d47fb6fb6286ca46c144bbdc791e39c5062f923b55e9e300844d317144')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+}

Copied: mousetweaks/repos/testing-i686/mousetweaks.install (from rev 155005, mousetweaks/repos/gnome-unstable-i686/mousetweaks.install)
===================================================================
--- testing-i686/mousetweaks.install	                        (rev 0)
+++ testing-i686/mousetweaks.install	2012-04-01 11:36:02 UTC (rev 155223)
@@ -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
+}



More information about the arch-commits mailing list