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

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:32:27 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:32:27
  Author: heftig
Revision: 155084

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

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

--------------+
 PKGBUILD     |   30 ++++++++++++++++++++++++++++++
 ghex.install |   20 ++++++++++++++++++++
 2 files changed, 50 insertions(+)

Copied: ghex/repos/testing-x86_64/PKGBUILD (from rev 155005, ghex/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:32:27 UTC (rev 155084)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: tobias <tobias at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=ghex
+pkgver=3.4.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' 'gnome-doc-utils')
+options=('!libtool' '!emptydirs')
+install=ghex.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('59e409cc629fddeb06552c505b60be1d20274cea75eb22f1d65d7ca0aaf1e64d')
+
+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/testing-x86_64/ghex.install (from rev 155005, ghex/repos/gnome-unstable-x86_64/ghex.install)
===================================================================
--- testing-x86_64/ghex.install	                        (rev 0)
+++ testing-x86_64/ghex.install	2012-04-01 11:32:27 UTC (rev 155084)
@@ -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