void-packages/srcpkgs/devhelp/template

39 lines
963 B
Plaintext

# Template file for 'devhelp'
pkgname=devhelp
version=3.12.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="webkitgtk-devel>=2.4"
short_desc="API documentation browser for GTK+ and GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://wiki.gnome.org/devhelp"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=1e0824a08e85cb720851ea407eec9525c6fb5adbce4464d74e956ec67ec31dd8
devhelp-devel_package() {
short_desc+=" - Development files"
depends="webkitgtk-devel>=2.4 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
}
}