void-packages/srcpkgs/devhelp/template
2022-01-21 08:57:04 +01:00

34 lines
1,007 B
Bash

# Template file for 'devhelp'
pkgname=devhelp
version=41.2
revision=1
build_helper="gir"
build_style=meson
hostmakedepends="gettext glib-devel itstool pkg-config"
makedepends="gsettings-desktop-schemas-devel webkit2gtk-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"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ecaa90b0f4daa8fb2030f6dc690bf533ff99a773437fe0e18acfe82d997f60d2
replaces="devhelp-gedit-plugin<=40.0_1"
devhelp-devel_package() {
short_desc+=" - development files"
depends="gsettings-desktop-schemas-devel webkit2gtk-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.*"
}
}