void-packages/srcpkgs/devhelp/template

37 lines
1000 B
Bash

# Template file for 'devhelp'
pkgname=devhelp
version=3.26.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel"
makedepends="webkit2gtk-devel gsettings-desktop-schemas-devel"
short_desc="API documentation browser for GTK+ and GNOME"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://wiki.gnome.org/devhelp"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=10bd468ae2188abd98af9ba7b81aced337d2206e9d843eb44520be5b00d77d8e
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
}
}