void-packages/srcpkgs/giggle/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

34 lines
877 B
Bash

# Template file for 'giggle'
pkgname=giggle
version=0.6.2
revision=3
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config itstool intltool glib-devel git"
makedepends="gtksourceview-devel vte290-devel"
depends="desktop-file-utils hicolor-icon-theme"
homepage="http://live.gnome.org/giggle"
short_desc="Git repository viewer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.xz"
checksum=6d56c8a3b9ce12a87cd1aeb03f8cdabfc52a614d23a8db85878743b02426fee0
nocross=yes
# Required by glib-2.32.
CFLAGS="-lgmodule-2.0"
libgiggle_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
giggle-devel_package() {
depends="libgiggle>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}