# Template file for 'xreader' pkgname=xreader version=1.8.4 revision=1 build_style=gnu-configure configure_args="--disable-introspection --disable-thumbnailer" hostmakedepends="mate-common" makedepends="djvulibre-devel libSM-devel libgnomekbd-devel libgxps-devel libsecret-devel libspectre-devel libxkbfile-devel poppler-glib-devel webkit2gtk-devel xapps-devel" depends="desktop-file-utils hicolor-icon-theme" short_desc="Document viewer capable of displaying formats like PDF and Postscript" maintainer="cr6git " license="GPL-2.0-or-later" homepage="https://github.com/linuxmint/xreader" distfiles="https://github.com/linuxmint/xreader/archive/${version}.tar.gz" checksum=ed0b16bab5a48c7f5c3cdad96cebe67a013a81812224f42caeb0cd6a5258922c pre_configure() { NOCONFIGURE=1 ./autogen.sh } libxreader_package() { short_desc+=" - shared library" pkg_install() { vmove "usr/lib/*.so.*" } } libxreader-devel_package() { depends="libxreader>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" vmove "usr/lib/*.so" } }