Date: Tuesday, February 25, 2020 @ 18:21:37 Author: cesura Revision: 581778
archrelease: copy trunk to community-x86_64 Added: atril/repos/community-x86_64/PKGBUILD (from rev 581777, atril/trunk/PKGBUILD) Deleted: atril/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-25 18:21:29 UTC (rev 581777) +++ PKGBUILD 2020-02-25 18:21:37 UTC (rev 581778) @@ -1,51 +0,0 @@ -# Maintainer: Brad Fanella <ces...@archlinux.org> -# Contributor: Martin Wimpress <c...@flexion.org> - -pkgname=atril -pkgver=1.24.0 -pkgrel=1 -pkgdesc="MATE document viewer" -url="https://mate-desktop.org" -arch=('x86_64') -license=('GPL') -depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax2' 'gettext' 'poppler-glib' 'cairo>=1.14.0' 'webkit2gtk>=2.6.0') -makedepends=('caja' 'gobject-introspection' 'intltool' '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=('be245d445333de35bdad22e4299252e6b30851d94f02caef14100b78787fc724') - -prepare() { - cd "$pkgname-$pkgver" - - # Fix mathjax path - sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax2|' backend/epub/epub-document.c -} - -build() { - cd "$pkgname-$pkgver" - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib/${_pkgbase} \ - --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 581777, atril/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-25 18:21:37 UTC (rev 581778) @@ -0,0 +1,51 @@ +# Maintainer: Brad Fanella <ces...@archlinux.org> +# Contributor: Martin Wimpress <c...@flexion.org> + +pkgname=atril +pkgver=1.24.0 +pkgrel=1 +pkgdesc="MATE document viewer" +url="https://mate-desktop.org" +arch=('x86_64') +license=('GPL') +depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax2' 'gettext' 'poppler-glib' 'cairo>=1.14.0' 'webkit2gtk>=2.6.0') +makedepends=('caja' 'gobject-introspection' '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=('be245d445333de35bdad22e4299252e6b30851d94f02caef14100b78787fc724') + +prepare() { + cd "$pkgname-$pkgver" + + # Fix mathjax path + sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax2|' backend/epub/epub-document.c +} + +build() { + cd "$pkgname-$pkgver" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${_pkgbase} \ + --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 +}