diff options
author | Brian Bidulock | 2015-06-10 06:48:17 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 06:48:17 -0600 |
commit | f33979f4c7e6c41f6540091b669eee5ef058a583 (patch) | |
tree | 0283aa7979db75ecf69b25027886be0a7c5829d7 /PKGBUILD | |
download | aur-f33979f4c7e6c41f6540091b669eee5ef058a583.tar.gz |
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cda06b05380f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +pkgname=libwnck+-git +pkgver=2.31.0.r19.g7357429 +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 +} |