void-packages/srcpkgs/libwnck/template

34 lines
1000 B
Bash

# Template file for 'libwnck'
pkgname=libwnck
version=3.30.0
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="gdk-pixbuf-devel pkg-config intltool
$(vopt_if gir gobject-introspection)"
makedepends="startup-notification-devel gtk+3-devel libXres-devel"
short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ac6d0d2646aa80676d3066651e73abb7bff7ed79be238c9b21a0083e2adc3439
build_options="gir"
build_options_default="gir"
libwnck-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}