Date: Sunday, June 30, 2019 @ 17:44:08 Author: eschwartz Revision: 486455
archrelease: copy trunk to community-x86_64 Added: xreader/repos/community-x86_64/PKGBUILD (from rev 486454, xreader/trunk/PKGBUILD) Deleted: xreader/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 46 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-30 17:43:54 UTC (rev 486454) +++ PKGBUILD 2019-06-30 17:44:08 UTC (rev 486455) @@ -1,41 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Nate Simon <aurpkg (at natesimon.net)> - -pkgname=xreader -pkgver=2.0.2 -pkgrel=1 -pkgdesc="Document viewer for files like PDF and Postscript. X-Apps Project." -arch=('x86_64') -url="https://github.com/linuxmint/xreader" -license=('GPL') -depends=('poppler-glib' 'webkit2gtk' 'xapps') -optdepends=('djvulibre: support for djvu files' - 'libgxps: support for xps files' - 'libspectre: support for dvi and ps files' - 'texlive-bin: support for dvi files') -makedepends=('gobject-introspection' 'mate-common' 'yelp-tools' 'djvulibre' 'libgxps' 'libspectre' 'texlive-bin') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('b79d17d7b4701a2f2d437d1ed7a93b76c617ea093d394ea14aab0a11073aa90c') - -prepare() { - cd "${srcdir}"/${pkgname}-${pkgver} - - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd "${srcdir}"/${pkgname}-${pkgver} - - ./configure --prefix="/usr" \ - --localstatedir="/var" \ - --libexecdir="/usr/lib/${pkgname}" \ - --enable-introspection \ - --enable-t1lib - make -} - -package(){ - cd "${srcdir}"/${pkgname}-${pkgver} - - make DESTDIR="${pkgdir}" install -} Copied: xreader/repos/community-x86_64/PKGBUILD (from rev 486454, xreader/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-30 17:44:08 UTC (rev 486455) @@ -0,0 +1,46 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Nate Simon <aurpkg (at natesimon.net)> + +pkgname=xreader +pkgver=2.2.1 +pkgrel=1 +pkgdesc="Document viewer for files like PDF and Postscript. X-Apps Project." +arch=('x86_64') +url="https://github.com/linuxmint/${pkgname}" +license=('GPL') +groups=('x-apps') +depends=('poppler-glib' 'webkit2gtk' 'xapps') +optdepends=('djvulibre: support for djvu files' + 'libgxps: support for xps files' + 'libspectre: support for dvi and ps files' + 'mathjax: support for math in epub files' + 'texlive-bin: support for dvi files') +makedepends=('meson' 'intltool' 'itstool' 'gobject-introspection' 'djvulibre' + 'libgxps' 'libspectre' 'texlive-bin') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('e5efc1ff17708513f22c6110f91ac60acb51e33ebb5a32372091944e1daaa7bf') + +build() { + mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build + cd "${srcdir}"/${pkgname}-${pkgver}/build + + meson --prefix=/usr \ + --libexecdir=lib/${pkgname} \ + --buildtype=plain \ + -Dmathjax-directory=/usr/share/mathjax \ + -Dcomics=true \ + -Ddjvu=true \ + -Ddvi=true \ + -Dt1lib=true \ + -Dpixbuf=true \ + -Dintrospection=true \ + -Dhelp_files=true \ + .. + ninja +} + +package(){ + cd "${srcdir}"/${pkgname}-${pkgver}/build + + DESTDIR="${pkgdir}" ninja install +}