Date: Sunday, April 1, 2012 @ 07:34:50 Author: heftig Revision: 155177
db-move: moved gucharmap from [gnome-unstable] to [testing] (i686) Added: gucharmap/repos/testing-i686/ gucharmap/repos/testing-i686/PKGBUILD (from rev 155005, gucharmap/repos/gnome-unstable-i686/PKGBUILD) gucharmap/repos/testing-i686/gucharmap.install (from rev 155005, gucharmap/repos/gnome-unstable-i686/gucharmap.install) Deleted: gucharmap/repos/gnome-unstable-i686/ -------------------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ gucharmap.install | 17 +++++++++++++++++ 2 files changed, 47 insertions(+) Copied: gucharmap/repos/testing-i686/PKGBUILD (from rev 155005, gucharmap/repos/gnome-unstable-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-04-01 11:34:50 UTC (rev 155177) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan De Groot <j...@archlinux.org> + +pkgname=gucharmap +pkgver=3.4.0.1 +pkgrel=1 +pkgdesc="Gnome Unicode Charmap" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnome.org" +depends=('dconf' 'gtk3' 'hicolor-icon-theme') +makedepends=('gtk-doc' 'intltool' 'gobject-introspection') +options=('!libtool' '!emptydirs') +install=gucharmap.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('eac2f2281cde5118544bc930b9ce90e68302a8c4ea09755f0db3e2e5e022b23c') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --disable-schemas-compile --enable-introspection + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: gucharmap/repos/testing-i686/gucharmap.install (from rev 155005, gucharmap/repos/gnome-unstable-i686/gucharmap.install) =================================================================== --- testing-i686/gucharmap.install (rev 0) +++ testing-i686/gucharmap.install 2012-04-01 11:34:50 UTC (rev 155177) @@ -0,0 +1,17 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + (( $(vercmp $2 3.3) < 0 )) && gconfpkg --uninstall gucharmap + return 0 +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}