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