void-packages/srcpkgs/xreader/template

40 lines
1.1 KiB
Bash

# Template file for 'xreader'
pkgname=xreader
version=1.6.1
revision=1
build_style=gnu-configure
configure_script="./autogen.sh"
configure_args="--disable-caja
--disable-nemo
--disable-introspection
--disable-thumbnailer"
hostmakedepends="automake pkg-config mate-common 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=32e7f51800aacb47951e45f64e0e1120b3411abe73a3a65c1479c9d54fb564b6
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"
}
}