40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'xreader'
|
|
pkgname=xreader
|
|
version=1.8.5
|
|
revision=2
|
|
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=11fca6f6126a168473d47a61dfe9d01d3c959a1aae6fcd3b9c849e26022e1949
|
|
|
|
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"
|
|
}
|
|
}
|
|
|