[arch-commits] Commit in ghex/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Thu Nov 3 14:04:23 UTC 2016
Date: Thursday, November 3, 2016 @ 14:04:23
Author: jgc
Revision: 279799
upgpkg: ghex 3.18.3-1
Modified:
ghex/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-03 13:53:03 UTC (rev 279798)
+++ PKGBUILD 2016-11-03 14:04:23 UTC (rev 279799)
@@ -3,7 +3,7 @@
# Contributor: Tobias Kieslich <tobias at justdreams.de>
pkgname=ghex
-pkgver=3.18.2
+pkgver=3.18.3
pkgrel=1
pkgdesc="A simple binary editor for the Gnome desktop"
url="https://wiki.gnome.org/Apps/Ghex"
@@ -10,17 +10,24 @@
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk3')
-makedepends=('intltool' 'itstool' 'docbook-xsl')
+makedepends=('intltool' 'itstool' 'docbook-xsl' gnome-common git)
options=('!emptydirs')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('ebd341c49e2cc4e710230703cd20e9febb29b64e34a1b5396d6aa818936e55bf')
+_commit=6615481532da7d378ef79b0f498ecc43dd0e1d40 # tags/3.18.3^0
+source=("git://git.gnome.org/ghex#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
@@ -32,6 +39,6 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list