void-packages/srcpkgs/goocanvas1/template
2015-07-24 09:09:51 +02:00

29 lines
951 B
Bash

# Template file for 'goocanvas1'
pkgname=goocanvas1
version=1.0.0
revision=1
wrksrc=goocanvas-${version}
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
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.
only_for_archs="i686 x86_64"
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
}
}