void-packages/srcpkgs/devhelp/template
2014-04-15 18:23:34 +02:00

38 lines
963 B
Text

# Template file for 'devhelp'
pkgname=devhelp
version=3.12.1
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=ce2c73e25eaec553abcfdb57de4ec399fa051783e0d4fbbb63da0fda1c6c8335
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
}
}