void-packages/srcpkgs/yelp/template

29 lines
1.0 KiB
Bash

# Template file for 'yelp'
# keep up to date with yelp-xsl
pkgname=yelp
version=42.1
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static"
hostmakedepends="gettext glib-devel itstool pkg-config"
makedepends="bzip2-devel gtk+3-devel libgcrypt-devel libglib-devel liblzma-devel
libxml2-devel libxslt-devel sqlite-devel libwebkit2gtk41-devel yelp-xsl libhandy1-devel"
depends="dconf desktop-file-utils hicolor-icon-theme yelp-xsl"
short_desc="Help browser for GNOME desktop"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Yelp"
# change this when it moves to a new major release
changelog="https://gitlab.gnome.org/GNOME/yelp/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/yelp/${version%.*}/yelp-${version}.tar.xz"
checksum=25b1146ab8549888a5a8da067f63b470b0f0f800b6ae889cacd114d01d713b41
yelp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}