void-packages/srcpkgs/devhelp/template
2018-09-09 03:05:39 -03:00

39 lines
1.1 KiB
Bash

# Template file for 'devhelp'
pkgname=devhelp
version=3.30.0
revision=1
build_style=meson
hostmakedepends="glib-devel itstool pkg-config gobject-introspection"
makedepends="gsettings-desktop-schemas-devel webkit2gtk-devel amtk-devel"
short_desc="API documentation browser for GTK+ and GNOME"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/devhelp"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=25526a41f0f417e89c0b9c3c9e8d43a581e00aa3745a259b41b2a10daca6f1e7
nocross="hard depends on gobject introspection"
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
}
}