pkgname: xreader pkgver: '4.6.5' pkgrel: '1' pkgdesc: 'Document viewer for files like PDF and Postscript. X-Apps Project.' url: 'https://github.com/linuxmint/xreader' arch: x86_64 license: - GPL2 depends: - 'poppler-glib' - 'webkit2gtk-4' - xapp makedepends: - meson - samurai - intltool - itstool - 'gobject-introspection' - djvulibre - libgxps - libspectre source: - 'https://github.com/linuxmint/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} mkdir build cd build meson setup .. \ --prefix=/usr \ --libexecdir=lib/${pkgname} \ -Dmathjax-directory=/usr/share/mathjax2 \ -Dcomics=true \ -Ddjvu=true \ -Dt1lib=true \ -Dpixbuf=true \ -Dhelp_files=true \ -Dintrospection=true samu DESTDIR=${PKGDIR} samu install install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING package: | true