void-packages/srcpkgs/xreader/template
2018-03-21 15:37:48 +01:00

36 lines
1.1 KiB
Bash

# Template file for 'xreader'
pkgname=xreader
version=1.6.2
revision=1
build_style=gnu-configure
configure_script="./autogen.sh"
configure_args="--disable-caja --disable-introspection --disable-nemo --disable-thumbnailer"
hostmakedepends="automake mate-common pkg-config yelp-tools"
makedepends="djvulibre-devel libgxps-devel libsecret-devel
libspectre-devel libSM-devel poppler-glib-devel webkit2gtk-devel"
depends="desktop-file-utils hicolor-icon-theme"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Document viewer capable of displaying formats like PDF and Postscript"
homepage="https://github.com/linuxmint/xreader"
license="GPL-2"
distfiles="https://github.com/linuxmint/xreader/archive/${version}.tar.gz"
checksum=b925007199b156943a568e2da1b7058f99e328cdd3f03f447d280e9bf7356cab
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"
}
}