void-packages/srcpkgs/devhelp/template

40 lines
1.0 KiB
Bash

# Template file for 'devhelp'
pkgname=devhelp
version=3.32.0
revision=1
build_helper="gir"
build_style=meson
hostmakedepends="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=d8aa7efcdd270ff1854a602efd466327d60c207e83ba721ee349ccf7fe404a1b
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"
}
}
devhelp-libs_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/libdevhelp*.so.*"
}
}
devhelp-gedit-plugin_package() {
short_desc+=" - gedit plugin"
depends="devhelp gedit python"
pkg_install() {
vmove usr/lib/gedit
}
}