Date: Monday, May 20, 2019 @ 09:16:49 Author: cesura Revision: 468043
archrelease: copy trunk to community-x86_64 Added: atril/repos/community-x86_64/PKGBUILD (from rev 468042, atril/trunk/PKGBUILD) Deleted: atril/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-20 09:16:26 UTC (rev 468042) +++ PKGBUILD 2019-05-20 09:16:49 UTC (rev 468043) @@ -1,49 +0,0 @@ -# Maintainer: Brad Fanella <ces...@archlinux.org> -# Contributor: Martin Wimpress <c...@flexion.org> - -pkgname=atril -pkgver=1.22.0 -pkgrel=1 -pkgdesc="MATE document viewer" -url="https://mate-desktop.org" -arch=('x86_64') -license=('GPL') -depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk' 'caja' 'texlive-bin') -makedepends=('gobject-introspection' 'intltool' 'itstool') -groups=('mate-extra') -conflicts=('atril-gtk3') -replaces=('atril-gtk3') -source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha256sums=('ab73bfd922df8b87bf4abea1a2d06d6380e9437257ef2fa0158f668e894ca4f5') - -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} \ - --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 468042, atril/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-20 09:16:49 UTC (rev 468043) @@ -0,0 +1,49 @@ +# Maintainer: Brad Fanella <ces...@archlinux.org> +# Contributor: Martin Wimpress <c...@flexion.org> + +pkgname=atril +pkgver=1.22.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' 'caja' 'texlive-bin') +makedepends=('gobject-introspection' 'intltool' 'itstool') +groups=('mate-extra') +conflicts=('atril-gtk3') +replaces=('atril-gtk3') +source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz") +sha256sums=('208544f6cce4bb5c0bf423a0d618929e35527d1c5ed120a5aa19f2a7a77e5c44') + +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} \ + --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 +}