Date: Friday, October 21, 2016 @ 08:15:28
  Author: heftig
Revision: 279093

3.16.5+2+g3c82109-1

Modified:
  eog-plugins/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-10-21 08:11:02 UTC (rev 279092)
+++ PKGBUILD    2016-10-21 08:15:28 UTC (rev 279093)
@@ -2,7 +2,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
 
 pkgname=eog-plugins
-pkgver=3.16.4
+pkgver=3.16.5+2+g3c82109
 pkgrel=1
 pkgdesc="Plugins for Eye of Gnome"
 arch=(i686 x86_64)
@@ -9,12 +9,23 @@
 url="https://wiki.gnome.org/Apps/EyeOfGnome/Plugins";
 license=(GPL2)
 depends=(eog libchamplain libgdata python)
-makedepends=(intltool gobject-introspection)
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('4fcfe7df19cdf8e39f5fec599d7ff46bbd82842d49083274740fbbc51cf4d25e')
+makedepends=(intltool gobject-introspection gnome-common git)
+_commit=3c82109e35af704aa32b14d84df1e3b3eaa3cad4  # master
+source=("git://git.gnome.org/eog-plugins#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
 
   # https://bugzilla.gnome.org/show_bug.cgi?id=655517
@@ -24,7 +35,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 

Reply via email to