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

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:34:53 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:34:52
  Author: heftig
Revision: 155178

db-move: moved gucharmap from [gnome-unstable] to [testing] (x86_64)

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

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

Copied: gucharmap/repos/testing-x86_64/PKGBUILD (from rev 155005, gucharmap/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:34:52 UTC (rev 155178)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan De Groot <jgc at 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-x86_64/gucharmap.install (from rev 155005, gucharmap/repos/gnome-unstable-x86_64/gucharmap.install)
===================================================================
--- testing-x86_64/gucharmap.install	                        (rev 0)
+++ testing-x86_64/gucharmap.install	2012-04-01 11:34:52 UTC (rev 155178)
@@ -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
+}



More information about the arch-commits mailing list