summaryrefslogtreecommitdiff
path: root/community/wmctrl
diff options
context:
space:
mode:
Diffstat (limited to 'community/wmctrl')
-rw-r--r--community/wmctrl/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/wmctrl/PKGBUILD b/community/wmctrl/PKGBUILD
new file mode 100644
index 000000000..a4cb2b48f
--- /dev/null
+++ b/community/wmctrl/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 37711 2011-01-16 22:48:09Z andrea $
+# Maintainer:
+# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+# Contributor: Dalius <dagis@takas.lt>
+
+pkgname=wmctrl
+pkgver=1.07
+pkgrel=2
+pkgdesc="Control your EWMH compliant window manager from command line"
+url="http://sweb.cz/tripie/utils/wmctrl/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=(libxmu glib2)
+source=(http://sweb.cz/tripie/utils/wmctrl/dist/$pkgname-$pkgver.tar.gz
+ get_property-x86_64.patch::http://patch-tracking.debian.net/patch/misc/dl/wmctrl/1.07-6/main.c)
+md5sums=('1fe3c7a2caa6071e071ba34f587e1555'
+ '0d0173fa96e8ff318ea391dffa51235a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -p1 -i "$srcdir/get_property-x86_64.patch"
+
+ ./configure --prefix=/usr --mandir=$pkgdir/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make prefix="$pkgdir/usr" install
+}
+