[arch-commits] Commit in gthumb/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Oct 10 19:59:00 UTC 2016
Date: Monday, October 10, 2016 @ 19:59:00
Author: heftig
Revision: 278185
3.4.4-1
Modified:
gthumb/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-10 19:57:43 UTC (rev 278184)
+++ PKGBUILD 2016-10-10 19:59:00 UTC (rev 278185)
@@ -4,8 +4,8 @@
# Contributor: Tobias Kieslich <tobias at justdreams.de>
pkgname=gthumb
-pkgver=3.4.3
-pkgrel=2
+pkgver=3.4.4
+pkgrel=1
pkgdesc="Image browser and viewer for the GNOME Desktop"
url="https://wiki.gnome.org/Apps/gthumb"
arch=(i686 x86_64)
@@ -13,22 +13,28 @@
depends=(dconf librsvg clutter-gtk gst-plugins-base-libs gsettings-desktop-schemas libwebp
libsecret libsoup webkit2gtk json-glib)
makedepends=(intltool libchamplain exiv2 itstool brasero libraw liboauth docbook-xsl
- yelp-tools flex)
+ yelp-tools flex gnome-common git)
optdepends=('libraw: read RAW files'
'exiv2: metadata support'
'libchamplain: map viewer'
'brasero: burn discs'
'liboauth: web albums')
-options=('!emptydirs')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('c10fd12f3bfea31c390c74e8e08f86f16e2159fbd6c806daa025423e0ded825d')
+_commit=9c0f3f8f11ae31049a2085b2003d341e4057bad8 # tags/3.4.4^0
+source=("git://git.gnome.org/gthumb#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 \
@@ -40,11 +46,11 @@
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
make check
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list