void-packages/srcpkgs/devhelp/template
2016-09-22 18:54:38 +02:00

36 lines
965 B
Bash

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