[arch-commits] Commit in ghex/trunk (PKGBUILD ghex.install)
Jan de Groot
jgc at archlinux.org
Thu May 26 20:55:50 UTC 2016
Date: Thursday, May 26, 2016 @ 22:55:49
Author: jgc
Revision: 268619
upgpkg: ghex 3.18.1-1
Modified:
ghex/trunk/PKGBUILD
Deleted:
ghex/trunk/ghex.install
--------------+
PKGBUILD | 12 +++++++++---
ghex.install | 20 --------------------
2 files changed, 9 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-26 20:44:23 UTC (rev 268618)
+++ PKGBUILD 2016-05-26 20:55:49 UTC (rev 268619)
@@ -3,7 +3,7 @@
# Contributor: Tobias Kieslich <tobias at justdreams.de>
pkgname=ghex
-pkgver=3.18.0
+pkgver=3.18.1
pkgrel=1
pkgdesc="A simple binary editor for the Gnome desktop"
arch=('i686' 'x86_64')
@@ -12,12 +12,18 @@
depends=('gtk3')
makedepends=('intltool' 'itstool' 'docbook-xsl')
options=('!emptydirs')
-install=ghex.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('c5b1eb50a8dd1334880b37617871498b778ea137f79bb43894ec68e4f63dc925')
+sha256sums=('a0aacbc18bf89b3ad1ff96e108d94ed1fc8ba517689f847207be7749606b084b')
+prepare() {
+ cd $pkgname-$pkgver
+ # Workaround compile error: https://bugzilla.redhat.com/show_bug.cgi?id=1320175#c2
+ sed 's/-Werror=format=2/-Werror=format=1/' -i configure
+}
+
build() {
cd $pkgname-$pkgver
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--disable-schemas-compile
Deleted: ghex.install
===================================================================
--- ghex.install 2016-05-26 20:44:23 UTC (rev 268618)
+++ ghex.install 2016-05-26 20:55:49 UTC (rev 268619)
@@ -1,20 +0,0 @@
-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