void-packages/srcpkgs/goocanvas1/template

30 lines
932 B
Bash

# Template file for 'goocanvas1'
pkgname=goocanvas1
version=1.0.0
revision=1
wrksrc=goocanvas-${version}
build_style=gnu-configure
maintainer="Orphaned <orphan@voidlinux.org>"
hostmakedepends="pkg-config gobject-introspection glib-devel"
makedepends="gtk+-devel"
license="LGPL-2"
homepage="https://wiki.gnome.org/action/show/Projects/GooCanvas"
short_desc="Canvas widget for GTK+ - Version 1"
distfiles="${GNOME_SITE}/goocanvas/1.0/goocanvas-${version}.tar.bz2"
checksum=1c072ef88567cad241fb4addee26e9bd96741b1503ff736d1c152fa6d865711e
# There's no configure option for disabling gir. And right now, the
# only packages using goocanvas1 need gir, anyway.
nocross=yes
goocanvas1-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/gtk-doc
}
}