void-packages/srcpkgs/libwnck2/template

41 lines
1.1 KiB
Text

# Template build file for 'libwnck2'.
pkgname=libwnck2
version=2.30.7
revision=4
wrksrc=libwnck-${version}
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="startup-notification-devel libXres-devel gtk+-devel"
short_desc="Library for layout and rendering of text (GTK+2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/libwnck/2.30/libwnck-$version.tar.bz2"
checksum=8aabbe6c87b89b170dbd6e1577a89d248323da128fff0b3ab673010f0cd6156c
long_desc="
libwnck is Window Navigator Construction Kit, i.e. a library to use
for writing pagers and taskslists and stuff.
This package is based in the GTK+2 Toolkit."
post_install() {
rm -rf ${DESTDIR}/usr/bin
}
libwnck2-devel_package() {
depends="gtk+-devel startup-notification-devel libXres-devel libwnck2>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
libwnck2_package() {
pkg_install() {
vmove usr
}
}