void-packages/srcpkgs/yelp/template

29 lines
1.0 KiB
Bash

# Template file for 'yelp'
pkgname=yelp
version=41.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static --with-webkit2gtk-4-0"
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 webkit2gtk-devel yelp-xsl"
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-xsl/-/raw/gnome-40/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=456a6415647bceeb0159b90b3553ff328728cf29a608fce08024232504ccb874
yelp-devel_package() {
depends="yelp-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}