void-packages/srcpkgs/giggle/template

44 lines
1,022 B
Text

# Template file for 'giggle'
pkgname=giggle
version=0.6.1
revision=5
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=6c0b5c2b417217509bf88096447afa4af70fd33e8a6db5caa0aa86b44c01a5b8
long_desc="
Giggle is a graphical frontend for the git content tracker
(think of gitk on GTK+)."
build_style=gnu-configure
hostmakedepends="pkg-config itstool intltool"
makedepends="gtksourceview-devel>=3.8 vte3-devel"
# Required by glib-2.32.
CFLAGS="-lgmodule-2.0"
libgiggle_package() {
short_desc="${short_desc} - Runtime libraries"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
giggle-devel_package() {
depends="libgiggle>=$version"
short_desc="${short_desc} - Development files"
pkg_install() {
vmove usr/include
}
}
giggle_package() {
depends="desktop-file-utils hicolor-icon-theme"
pkg_install() {
vmove usr/bin
vmove usr/share
vmove usr/lib/giggle
}
}