void-packages/srcpkgs/giggle/template

34 lines
880 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@voidlinux.eu>"
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"
}
}