[arch-commits] Commit in atril/repos/community-x86_64 (PKGBUILD PKGBUILD)

Brad Fanella cesura at archlinux.org
Tue Apr 10 23:50:56 UTC 2018


    Date: Tuesday, April 10, 2018 @ 23:50:47
  Author: cesura
Revision: 315675

archrelease: copy trunk to community-x86_64

Added:
  atril/repos/community-x86_64/PKGBUILD
    (from rev 315674, atril/trunk/PKGBUILD)
Deleted:
  atril/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-10 23:17:43 UTC (rev 315674)
+++ PKGBUILD	2018-04-10 23:50:47 UTC (rev 315675)
@@ -1,52 +0,0 @@
-# Maintainer: Brad Fanella <cesura at archlinux.org>
-# Contributor: Martin Wimpress <code at flexion.org>
-
-pkgname=atril
-pkgver=1.20.1
-pkgrel=1
-pkgdesc="MATE document viewer"
-url="https://mate-desktop.org"
-arch=('x86_64')
-license=('GPL')
-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=('atril-gtk3')
-replaces=('atril-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('25f44a7cfde76d9e2e5909351f0fe445b4e00d8e6e3862befff462f52487d5c8')
-
-prepare() {
-    cd $pkgname-$pkgver
-
-    # Fix mathjax path
-    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
-}
-
-build() {
-    cd $pkgname-$pkgver
-    ./configure \
-        --prefix=/usr \
-        --libexecdir=/usr/lib/${_pkgbase} \
-        --with-gtk=2.0 \
-        --enable-djvu \
-        --enable-dvi \
-        --enable-epub \
-        --enable-t1lib \
-        --enable-pixbuf \
-        --enable-comics \
-        --enable-xps \
-        --enable-introspection
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    make
-}
-
-package() {
-    cd $pkgname-$pkgver
-    make DESTDIR="$pkgdir" install
-}

Copied: atril/repos/community-x86_64/PKGBUILD (from rev 315674, atril/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-10 23:50:47 UTC (rev 315675)
@@ -0,0 +1,52 @@
+# Maintainer: Brad Fanella <cesura at archlinux.org>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=atril
+pkgver=1.20.1
+pkgrel=1
+pkgdesc="MATE document viewer"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+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=('atril-gtk3')
+replaces=('atril-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('25f44a7cfde76d9e2e5909351f0fe445b4e00d8e6e3862befff462f52487d5c8')
+
+prepare() {
+    cd $pkgname-$pkgver
+
+    # Fix mathjax path
+    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
+}
+
+build() {
+    cd $pkgname-$pkgver
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-djvu \
+        --enable-dvi \
+        --enable-epub \
+        --enable-t1lib \
+        --enable-pixbuf \
+        --enable-comics \
+        --enable-xps \
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd $pkgname-$pkgver
+    make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list