[arch-commits] Commit in gucharmap/repos (6 files)
Ionut Biru
ibiru at archlinux.org
Mon Sep 19 14:31:59 UTC 2011
Date: Monday, September 19, 2011 @ 10:31:59
Author: ibiru
Revision: 138238
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gucharmap/repos/gnome-unstable-i686/
gucharmap/repos/gnome-unstable-i686/PKGBUILD
(from rev 138237, gucharmap/trunk/PKGBUILD)
gucharmap/repos/gnome-unstable-i686/gucharmap.install
(from rev 138237, gucharmap/trunk/gucharmap.install)
gucharmap/repos/gnome-unstable-x86_64/
gucharmap/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 138237, gucharmap/trunk/PKGBUILD)
gucharmap/repos/gnome-unstable-x86_64/gucharmap.install
(from rev 138237, gucharmap/trunk/gucharmap.install)
-----------------------------------------+
gnome-unstable-i686/PKGBUILD | 33 ++++++++++++++++++++++++++++++
gnome-unstable-i686/gucharmap.install | 22 ++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 33 ++++++++++++++++++++++++++++++
gnome-unstable-x86_64/gucharmap.install | 22 ++++++++++++++++++++
4 files changed, 110 insertions(+)
Copied: gucharmap/repos/gnome-unstable-i686/PKGBUILD (from rev 138237, gucharmap/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2011-09-19 14:31:59 UTC (rev 138238)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan De Groot <jgc at archlinux.org>
+
+pkgname=gucharmap
+pkgver=3.1.92
+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=('370179135acbe87c22854932964a1f5ad469c811abe63d4c10e2394cbccfbd47')
+
+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/gnome-unstable-i686/gucharmap.install (from rev 138237, gucharmap/trunk/gucharmap.install)
===================================================================
--- gnome-unstable-i686/gucharmap.install (rev 0)
+++ gnome-unstable-i686/gucharmap.install 2011-09-19 14:31:59 UTC (rev 138238)
@@ -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/gnome-unstable-x86_64/PKGBUILD (from rev 138237, gucharmap/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2011-09-19 14:31:59 UTC (rev 138238)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan De Groot <jgc at archlinux.org>
+
+pkgname=gucharmap
+pkgver=3.1.92
+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=('370179135acbe87c22854932964a1f5ad469c811abe63d4c10e2394cbccfbd47')
+
+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/gnome-unstable-x86_64/gucharmap.install (from rev 138237, gucharmap/trunk/gucharmap.install)
===================================================================
--- gnome-unstable-x86_64/gucharmap.install (rev 0)
+++ gnome-unstable-x86_64/gucharmap.install 2011-09-19 14:31:59 UTC (rev 138238)
@@ -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