# Maintainer: Brian Bidulock # Contributor: Jan de Groot pkgname=libwnck+-git pkgver=2.31.0.r22.g129f5dc pkgrel=1 pkgdesc="Window Navigator Construction Kit" arch=('i686' 'x86_64') license=('LGPL') provides=('libwnck=2.31.0' 'libwnck+=2.31.0') conflicts=('libwnck' 'libwnck+') depends=('gtk2' 'startup-notification' 'libxres') makedepends=('git' 'libxt' 'intltool' 'gobject-introspection' 'gnome-common') url="https://github.com/bbidulock/libwnck" source=("$pkgname::git+https://github.com/bbidulock/libwnck.git#branch=libwnck+") sha256sums=('SKIP') pkgver() { cd $pkgname git describe --long --tags | sed -r 's,LIBWNCK_,,;s,([^-]*-g),r\1,;s,[-_],.,g' } build() { cd $pkgname ./autogen.sh --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --enable-tools --enable-gtk-doc make } package() { cd $pkgname make DESTDIR="$pkgdir" install # libwnck3 installs these with the normal names linked against wrong library mv "${pkgdir}"/usr/bin/wnckprop "${pkgdir}"/usr/bin/wnckprop2 mv "${pkgdir}"/usr/bin/wnck-urgency-monitor "${pkgdir}"/usr/bin/wnck-urgency-monitor2 }