39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'xreader'
|
|
pkgname=xreader
|
|
version=1.8.2
|
|
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=a8a767c4617bbeeecb3ebeb570cbaecb4c5e5ee7e69f359a5a46053aa0d09b63
|
|
|
|
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"
|
|
}
|
|
}
|
|
|