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

Jan de Groot jgc at nymeria.archlinux.org
Wed Apr 3 15:08:02 UTC 2013


    Date: Wednesday, April 3, 2013 @ 17:08:01
  Author: jgc
Revision: 181371

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  ghex/repos/gnome-unstable-i686/
  ghex/repos/gnome-unstable-i686/PKGBUILD
    (from rev 181370, ghex/trunk/PKGBUILD)
  ghex/repos/gnome-unstable-i686/ghex.install
    (from rev 181370, ghex/trunk/ghex.install)
  ghex/repos/gnome-unstable-x86_64/
  ghex/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 181370, ghex/trunk/PKGBUILD)
  ghex/repos/gnome-unstable-x86_64/ghex.install
    (from rev 181370, ghex/trunk/ghex.install)

------------------------------------+
 gnome-unstable-i686/PKGBUILD       |   30 ++++++++++++++++++++++++++++++
 gnome-unstable-i686/ghex.install   |   20 ++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD     |   30 ++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/ghex.install |   20 ++++++++++++++++++++
 4 files changed, 100 insertions(+)

Copied: ghex/repos/gnome-unstable-i686/PKGBUILD (from rev 181370, ghex/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-04-03 15:08:01 UTC (rev 181371)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=ghex
+pkgver=3.8.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' 'hicolor-icon-theme')
+makedepends=('intltool' 'itstool' 'docbook-xsl')
+options=('!libtool' '!emptydirs')
+install=ghex.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('40b08fff065575e91f161904952aaa14919ffe053f3849c47ab567ac93a4d3fc')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: ghex/repos/gnome-unstable-i686/ghex.install (from rev 181370, ghex/trunk/ghex.install)
===================================================================
--- gnome-unstable-i686/ghex.install	                        (rev 0)
+++ gnome-unstable-i686/ghex.install	2013-04-03 15:08:01 UTC (rev 181371)
@@ -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
+}

Copied: ghex/repos/gnome-unstable-x86_64/PKGBUILD (from rev 181370, ghex/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-04-03 15:08:01 UTC (rev 181371)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=ghex
+pkgver=3.8.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' 'hicolor-icon-theme')
+makedepends=('intltool' 'itstool' 'docbook-xsl')
+options=('!libtool' '!emptydirs')
+install=ghex.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('40b08fff065575e91f161904952aaa14919ffe053f3849c47ab567ac93a4d3fc')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: ghex/repos/gnome-unstable-x86_64/ghex.install (from rev 181370, ghex/trunk/ghex.install)
===================================================================
--- gnome-unstable-x86_64/ghex.install	                        (rev 0)
+++ gnome-unstable-x86_64/ghex.install	2013-04-03 15:08:01 UTC (rev 181371)
@@ -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