[arch-commits] Commit in atril/repos (2 files)
Date: Saturday, September 7, 2019 @ 07:35:54 Author: arojas Revision: 508344 archrelease: copy trunk to community-staging-x86_64 Added: atril/repos/community-staging-x86_64/ atril/repos/community-staging-x86_64/PKGBUILD (from rev 508343, atril/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: atril/repos/community-staging-x86_64/PKGBUILD (from rev 508343, atril/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-09-07 07:35:54 UTC (rev 508344) @@ -0,0 +1,49 @@ +# Maintainer: Brad Fanella +# Contributor: Martin Wimpress + +pkgname=atril +pkgver=1.22.1 +pkgrel=2 +pkgdesc="MATE document viewer" +url="https://mate-desktop.org"; +arch=('x86_64') +license=('GPL') +depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax2' '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/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 +}
[arch-commits] Commit in atril/repos (2 files)
Date: Wednesday, February 7, 2018 @ 21:58:15 Author: arojas Revision: 290069 archrelease: copy trunk to community-staging-x86_64 Added: atril/repos/community-staging-x86_64/ atril/repos/community-staging-x86_64/PKGBUILD (from rev 290068, atril/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: atril/repos/community-staging-x86_64/PKGBUILD (from rev 290068, atril/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-02-07 21:58:15 UTC (rev 290069) @@ -0,0 +1,52 @@ +# Maintainer: +# Contributor: Martin Wimpress + +pkgname=atril +pkgver=1.20.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') +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=('36d0515675951923f1d39c37ef6d1eacb4221bb33dc947d6e6c532d858976998') + +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 +}