[arch-commits] Commit in ghex/repos/extra-x86_64 (4 files)

Ionut Biru ibiru at archlinux.org
Tue Aug 16 08:47:35 UTC 2011


    Date: Tuesday, August 16, 2011 @ 04:47:35
  Author: ibiru
Revision: 135591

archrelease: copy trunk to extra-x86_64

Added:
  ghex/repos/extra-x86_64/PKGBUILD
    (from rev 135590, ghex/trunk/PKGBUILD)
  ghex/repos/extra-x86_64/ghex.install
    (from rev 135590, ghex/trunk/ghex.install)
Deleted:
  ghex/repos/extra-x86_64/PKGBUILD
  ghex/repos/extra-x86_64/ghex.install

--------------+
 PKGBUILD     |   63 +++++++++++++++++++++++++++------------------------------
 ghex.install |   42 ++++++++++++++++++--------------------
 2 files changed, 50 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-16 08:47:03 UTC (rev 135590)
+++ PKGBUILD	2011-08-16 08:47:35 UTC (rev 135591)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: tobias <tobias at archlinux.org>
-# Contributor: Tobias Kieslich <tobias at justdreams.de>
-
-pkgname=ghex
-pkgver=2.90.0
-pkgrel=1
-pkgdesc="A simple binary editor for the Gnome desktop"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://live.gnome.org/Ghex"
-depends=('gtk3' 'gconf' 'hicolor-icon-theme')
-makedepends=('intltool' 'gnome-doc-utils')
-options=('!libtool' '!emptydirs')
-install=ghex.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/ghex/2.90/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('2edeedcf1973c221d2f5ea1397099fbfc054b60cf2ebff5cb1ca9e83fd6c4974')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
-  install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
-  gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas --domain ghex-3.0 "${pkgdir}"/etc/gconf/schemas/*.schemas
-  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
-}

Copied: ghex/repos/extra-x86_64/PKGBUILD (from rev 135590, ghex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-08-16 08:47:35 UTC (rev 135591)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: tobias <tobias at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=ghex
+pkgver=2.90.1
+pkgrel=1
+pkgdesc="A simple binary editor for the Gnome desktop"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://live.gnome.org/Ghex"
+depends=('gtk3' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils')
+options=('!libtool' '!emptydirs')
+install=ghex.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/ghex/2.90/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('e736a322c3e25d0733bee72848f586c6477c11c0f0a63a77069be9048a66ec9a')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Deleted: ghex.install
===================================================================
--- ghex.install	2011-08-16 08:47:03 UTC (rev 135590)
+++ ghex.install	2011-08-16 08:47:35 UTC (rev 135591)
@@ -1,22 +0,0 @@
-pkgname=ghex
-
-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: ghex/repos/extra-x86_64/ghex.install (from rev 135590, ghex/trunk/ghex.install)
===================================================================
--- ghex.install	                        (rev 0)
+++ ghex.install	2011-08-16 08:47:35 UTC (rev 135591)
@@ -0,0 +1,20 @@
+pkgname=ghex
+
+post_install() {
+    glib-compile-schemas usr/share/glib-2.0/schemas
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+    if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then
+        gconfpkg --uninstall $pkgname
+    fi
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}




More information about the arch-commits mailing list