[arch-commits] Commit in eog/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Oct 12 20:48:20 UTC 2016


    Date: Wednesday, October 12, 2016 @ 20:48:19
  Author: jgc
Revision: 278503

upgpkg: eog 3.20.5-1

Modified:
  eog/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-12 20:28:14 UTC (rev 278502)
+++ PKGBUILD	2016-10-12 20:48:19 UTC (rev 278503)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=eog
-pkgver=3.20.4
+pkgver=3.20.5
 pkgrel=1
 pkgdesc="Eye of Gnome: An image viewing and cataloging program"
 url="https://wiki.gnome.org/Apps/EyeOfGnome"
@@ -10,15 +10,26 @@
 arch=(i686 x86_64)
 license=(GPL)
 depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg dconf)
-makedepends=(intltool itstool gobject-introspection gtk-doc)
+makedepends=(intltool itstool gobject-introspection gtk-doc gnome-common git)
 optdepends=('eog-plugins: Additional features')
 groups=(gnome)
 options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('968774cc07ea0d3c27ac552dc0f1d51cf682b9036d342b447688a208f31a5be3')
+_commit=d7ae13db01acb21054a329213f261626d66a7bfe  # tags/3.20.5^0
+source=("git://git.gnome.org/eog#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --enable-compile-warnings=minimum --enable-gtk-doc
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -26,6 +37,6 @@
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list