# Maintainer: Natanael Copa pkgname=libwnck pkgver=2.31.0 pkgrel=0 pkgdesc="Window Navigator Construction Kit" url="http://www.gnome.org/" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends= makedepends="gtk+-dev startup-notification-dev libxres-dev intltool gettext-dev expat-dev libsm-dev e2fsprogs-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" depends_dev="glib-dev gtk+-dev libx11-dev pango-dev cairo-dev startup-notification-dev libxres-dev" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="f03e1139296e2a3a92e3b65a3080cd32 libwnck-2.31.0.tar.xz" sha256sums="83f732d20781fc88b22cdc6aaf2d4f388db6d3d4ff28d1a8fd45be9fb7743a9e libwnck-2.31.0.tar.xz" sha512sums="54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9 libwnck-2.31.0.tar.xz"