33 lines
945 B
Bash
33 lines
945 B
Bash
# Template file for 'goocanvas'
|
|
pkgname=goocanvas
|
|
version=2.0.4
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_helper=gir
|
|
hostmakedepends="pkg-config python3 glib-devel"
|
|
makedepends="gtk+3-devel cairo-devel libglib-devel"
|
|
short_desc="Canvas widget for GTK+ that uses the cairo 2D library for drawing"
|
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/GooCanvas"
|
|
distfiles="${GNOME_SITE}/goocanvas/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90
|
|
|
|
build_options=gir
|
|
build_options_default=gir
|
|
|
|
goocanvas-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
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|