Date: Wednesday, September 21, 2016 @ 12:10:38
  Author: jgc
Revision: 276799

upgpkg: evince 3.22.0+1+gc1dd9eb-1

Modified:
  evince/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-21 12:00:02 UTC (rev 276798)
+++ PKGBUILD    2016-09-21 12:10:38 UTC (rev 276799)
@@ -2,8 +2,8 @@
 # Maintainer: Jan de Groot <j...@archlinux.org>
 
 pkgname=evince
-pkgver=3.20.1
-pkgrel=2
+pkgver=3.22.0+1+gc1dd9eb
+pkgrel=1
 pkgdesc="Document viewer (PDF, Postscript, djvu, tiff, dvi, XPS, SyncTex 
support with gedit, comics books (cbr,cbz,cb7 and cbt))"
 url="https://wiki.gnome.org/Apps/Evince";
 arch=(i686 x86_64)
@@ -12,16 +12,28 @@
          libsecret gsettings-desktop-schemas gnome-desktop libarchive
          gst-plugins-base-libs)
 makedepends=(itstool libnautilus-extension texlive-bin gobject-introspection
-             intltool docbook-xsl python gtk-doc)
+             intltool docbook-xsl python gtk-doc git gnome-common)
 optdepends=('texlive-bin: DVI support'
            'gvfs: bookmark support and session saving')
 groups=(gnome)
 options=('!emptydirs')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('fc7ac23036939c24f02e9fed6dd6e28a85b4b00b60fa4b591b86443251d20055')
+_commit=c1dd9eb697a58044e9d04846590fdfe1e65dda0f
+source=("git://git.gnome.org/evince#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
 
   BROWSER_PLUGIN_DIR=/usr/lib/epiphany/plugins \
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
@@ -46,6 +58,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Reply via email to