updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wmctrl-with-undecorated-support / PKGBUILD
blob79a120f549edc2ff95024f28fd05a7db3a5a590f
1 # Maintainer: Thomas Oster <thomas.oster@rwth-aachen.de>
2 # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
3 # Contributor: Dalius <dagis@takas.lt>
5 pkgname=wmctrl-with-undecorated-support
6 conflicts=wmctrl
7 pkgver=1.07
8 pkgrel=3
9 pkgdesc="Control your EWMH compliant window manager from command line with support for the undecorated flag"
10 url="http://sweb.cz/tripie/utils/wmctrl/"
11 arch=('i686' 'x86_64')
12 license=('GPL')
13 depends=(libxmu glib2)
14 source=(http://sweb.cz/tripie/utils/wmctrl/dist/wmctrl-$pkgver.tar.gz
15         http://ftp.de.debian.org/debian/pool/main/w/wmctrl/wmctrl_$pkgver-6.diff.gz wmctrl_undecorated.patch)
16 md5sums=('1fe3c7a2caa6071e071ba34f587e1555'
17          '7ddf2aadc48f4300c16160b3c9a7e141'
18          '1722c084397cf5d2f5b6fb8333a90ed6')
21 build() {
22   cd "$srcdir/wmctrl-$pkgver"
23   patch < ../wmctrl_undecorated.patch
24   patch -p1 -i "$srcdir/wmctrl_$pkgver-6.diff"
25   ./configure --prefix=/usr --mandir=$pkgdir/usr/share/man
26   make
29 package() {
30   cd "$srcdir/wmctrl-$pkgver"
31   make prefix="$pkgdir/usr" install