39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'xreader'
|
|
pkgname=xreader
|
|
version=2.0.0
|
|
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="Orphaned <orphan@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/linuxmint/xreader"
|
|
distfiles="https://github.com/linuxmint/xreader/archive/${version}.tar.gz"
|
|
checksum=f55852ddaf1fcc0b6dc2102301efb4b0b9d0c1a7bf89f6422e90644739555092
|
|
|
|
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"
|
|
}
|
|
}
|
|
|