void-packages/srcpkgs/devhelp/template

37 lines
964 B
Bash
Raw Normal View History

2013-07-28 05:12:48 +02:00
# Template file for 'devhelp'
pkgname=devhelp
2015-06-03 17:28:57 +02:00
version=3.16.1
2014-03-27 18:00:45 +01:00
revision=1
2013-07-28 05:12:48 +02:00
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel"
makedepends="webkitgtk-devel"
2013-07-28 05:12:48 +02:00
short_desc="API documentation browser for GTK+ and GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-07-28 05:12:48 +02:00
license="GPL-2"
homepage="https://wiki.gnome.org/devhelp"
2013-09-26 23:00:47 +02:00
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
2015-06-03 17:28:57 +02:00
checksum=673c34e6851c2848e6257da8de5edc222d41e1dbf110501bd29d7f6810f41345
2013-07-28 05:12:48 +02:00
devhelp-devel_package() {
2015-01-13 19:22:47 +01:00
short_desc+=" - development files"
depends="${makedepends} devhelp-libs>=${version}_${revision}"
2013-07-28 05:12:48 +02:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
2013-07-28 05:12:48 +02:00
}
}
devhelp-libs_package() {
2015-01-13 19:22:47 +01:00
short_desc+=" - runtime library"
2013-07-28 05:12:48 +02:00
pkg_install() {
vmove "usr/lib/libdevhelp*.so.*"
2013-07-28 05:12:48 +02:00
}
}
devhelp-gedit-plugin_package() {
2013-09-26 23:00:47 +02:00
short_desc+=" - gedit plugin"
2013-07-28 05:12:48 +02:00
depends="devhelp gedit python"
pkg_install() {
vmove usr/lib/gedit
}
}