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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 19:27:41 UTC 2017


    Date: Friday, March 17, 2017 @ 19:27:41
  Author: arojas
Revision: 216939

Update to 1.18.0

Modified:
  atril/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-17 19:19:10 UTC (rev 216938)
+++ PKGBUILD	2017-03-17 19:27:41 UTC (rev 216939)
@@ -1,25 +1,24 @@
 # Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.16
-_pkgbase=atril
-pkgname=(${_pkgbase})
-pkgver=${_ver}.1
-pkgrel=2
-pkgdesc="MATE document viewer (GTK2 version)"
+pkgname=atril
+pkgver=1.18.0
+pkgrel=1
+pkgdesc="MATE document viewer"
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib')
+depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk')
 makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
 optdepends=('caja: Document Properties extension'
             'texlive-bin: DVI support')
 groups=('mate-extra')
-conflicts=("${_pkgbase}-gtk3")
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('7a05ec3e856335ce6a49a97f545ab401d9221f6e')
+conflicts=('atril-gtk3')
+replaces=('atril-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha1sums=('5cbcd69733bd5ba23c10a60b2a2350171d95ddf6')
 
 prepare() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd $pkgname-$pkgver
 
     # Fix mathjax path
     sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
@@ -26,7 +25,7 @@
 }
 
 build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd $pkgname-$pkgver
     ./configure \
         --prefix=/usr \
         --libexecdir=/usr/lib/${_pkgbase} \
@@ -47,6 +46,6 @@
 }
 
 package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    make DESTDIR="${pkgdir}" install
+    cd $pkgname-$pkgver
+    make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list