void-packages/srcpkgs/devhelp/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

36 lines
961 B
Bash

# Template file for 'devhelp'
pkgname=devhelp
version=3.14.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel"
makedepends="webkitgtk-devel"
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=a78884cf81c1fb18fc8356c62271292591d5ca62c58b045dee30c6fc278e7083
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
}
}