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

Ionut Biru ibiru at archlinux.org
Mon Nov 14 14:44:44 EST 2011


    Date: Monday, November 14, 2011 @ 14:44:44
  Author: ibiru
Revision: 142755

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gucharmap/repos/testing-i686/
  gucharmap/repos/testing-i686/PKGBUILD
    (from rev 142754, gucharmap/trunk/PKGBUILD)
  gucharmap/repos/testing-i686/gucharmap.install
    (from rev 142754, gucharmap/trunk/gucharmap.install)
  gucharmap/repos/testing-x86_64/
  gucharmap/repos/testing-x86_64/PKGBUILD
    (from rev 142754, gucharmap/trunk/PKGBUILD)
  gucharmap/repos/testing-x86_64/gucharmap.install
    (from rev 142754, gucharmap/trunk/gucharmap.install)

----------------------------------+
 testing-i686/PKGBUILD            |   33 +++++++++++++++++++++++++++++++++
 testing-i686/gucharmap.install   |   22 ++++++++++++++++++++++
 testing-x86_64/PKGBUILD          |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/gucharmap.install |   22 ++++++++++++++++++++++
 4 files changed, 110 insertions(+)

Copied: gucharmap/repos/testing-i686/PKGBUILD (from rev 142754, gucharmap/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-14 19:44:44 UTC (rev 142755)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan De Groot <jgc at archlinux.org>
+
+pkgname=gucharmap
+pkgver=3.2.2
+pkgrel=1
+pkgdesc="Gnome Unicode Charmap"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org"
+depends=('gconf' '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%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('da1e422d387ff4df8bfb61e8a340483f88b0d23e4309a776848dbeb4093a5a21')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --disable-scrollkeeper  --enable-introspection
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gucharmap $pkgdir/etc/gconf/schemas/*.schemas
+  rm -f $pkgdir/etc/gconf/schemas/*.schemas
+}

Copied: gucharmap/repos/testing-i686/gucharmap.install (from rev 142754, gucharmap/trunk/gucharmap.install)
===================================================================
--- testing-i686/gucharmap.install	                        (rev 0)
+++ testing-i686/gucharmap.install	2011-11-14 19:44:44 UTC (rev 142755)
@@ -0,0 +1,22 @@
+pkgname=gucharmap
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: gucharmap/repos/testing-x86_64/PKGBUILD (from rev 142754, gucharmap/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-14 19:44:44 UTC (rev 142755)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan De Groot <jgc at archlinux.org>
+
+pkgname=gucharmap
+pkgver=3.2.2
+pkgrel=1
+pkgdesc="Gnome Unicode Charmap"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org"
+depends=('gconf' '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%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('da1e422d387ff4df8bfb61e8a340483f88b0d23e4309a776848dbeb4093a5a21')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --disable-scrollkeeper  --enable-introspection
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gucharmap $pkgdir/etc/gconf/schemas/*.schemas
+  rm -f $pkgdir/etc/gconf/schemas/*.schemas
+}

Copied: gucharmap/repos/testing-x86_64/gucharmap.install (from rev 142754, gucharmap/trunk/gucharmap.install)
===================================================================
--- testing-x86_64/gucharmap.install	                        (rev 0)
+++ testing-x86_64/gucharmap.install	2011-11-14 19:44:44 UTC (rev 142755)
@@ -0,0 +1,22 @@
+pkgname=gucharmap
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}



More information about the arch-commits mailing list