Date: Tuesday, November 21, 2017 @ 07:13:38 Author: arojas Revision: 267717
archrelease: copy trunk to community-x86_64 Added: atril/repos/community-x86_64/PKGBUILD (from rev 267716, atril/trunk/PKGBUILD) Deleted: atril/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 103 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-21 07:13:10 UTC (rev 267716) +++ PKGBUILD 2017-11-21 07:13:38 UTC (rev 267717) @@ -1,51 +0,0 @@ -# Contributor: Martin Wimpress <c...@flexion.org> - -pkgname=atril -pkgver=1.18.1 -pkgrel=1 -pkgdesc="MATE document viewer" -url="http://mate-desktop.org" -arch=('i686' '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=("http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha1sums=('f91ae6b1a3c461634604f7b0ed05327fdcddc32a') - -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 267716, atril/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-21 07:13:38 UTC (rev 267717) @@ -0,0 +1,52 @@ +# Maintainer: +# Contributor: Martin Wimpress <c...@flexion.org> + +pkgname=atril +pkgver=1.18.2 +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=('523cd31a8df57036073af951857a5ef81b2fd895d75738485c82ce6102e7e602') + +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 +}