void-packages/srcpkgs/devhelp/template

36 lines
1.1 KiB
Bash

# Template file for 'devhelp'
pkgname=devhelp
version=43.0
revision=1
build_helper="gir"
build_style=meson
hostmakedepends="gettext glib-devel itstool pkg-config gtk-update-icon-cache"
makedepends="gsettings-desktop-schemas-devel libwebkit2gtk41-devel amtk-devel"
short_desc="API documentation browser for GTK+ and GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Devhelp"
changelog="https://gitlab.gnome.org/GNOME/devhelp/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/devhelp/${version%.*}/devhelp-${version}.tar.xz"
checksum=63ceeefd05392e02044881ef1ecd724293553da5735b7efc082b2d13fe85dd04
replaces="devhelp-gedit-plugin<=40.0_1"
devhelp-devel_package() {
short_desc+=" - development files"
depends="gsettings-desktop-schemas-devel libwebkit2gtk41-devel
devhelp-libs>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}
devhelp-libs_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/libdevhelp*.so.*"
}
}