diff options
author | root <root@rshg054.dnsready.net> | 2012-10-04 01:23:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-04 01:23:34 -0700 |
commit | c3ff6b4da8966c22dcbf0f5d8a957b875242789f (patch) | |
tree | 73064dc985b6d59695639dfb6d4ae4ba99395cc5 /gnome-unstable/gucharmap | |
parent | 1350233b6dc1924ba29a42462447995f26dae0dc (diff) |
Thu Oct 4 01:23:34 PDT 2012
Diffstat (limited to 'gnome-unstable/gucharmap')
-rw-r--r-- | gnome-unstable/gucharmap/PKGBUILD | 30 | ||||
-rw-r--r-- | gnome-unstable/gucharmap/gucharmap.install | 17 |
2 files changed, 47 insertions, 0 deletions
diff --git a/gnome-unstable/gucharmap/PKGBUILD b/gnome-unstable/gucharmap/PKGBUILD new file mode 100644 index 000000000..0a1caaa33 --- /dev/null +++ b/gnome-unstable/gucharmap/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 167740 2012-10-03 13:27:33Z jgc $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan De Groot <jgc@archlinux.org> + +pkgname=gucharmap +pkgver=3.5.99 +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' 'itstool' 'docbook-xsl') +options=('!libtool' '!emptydirs') +install=gucharmap.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('0f439539e6ed3fa84a8775d27c8082410652124cb124437ff4b21432f47b8864') + +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 +} diff --git a/gnome-unstable/gucharmap/gucharmap.install b/gnome-unstable/gucharmap/gucharmap.install new file mode 100644 index 000000000..0a9ddf4c2 --- /dev/null +++ b/gnome-unstable/gucharmap/gucharmap.install @@ -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 +} |