PKGBUILDs/community/wmctrl/PKGBUILD

26 lines
803 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Dalius <dagis@takas.lt>
pkgname=wmctrl
pkgver=1.07
pkgrel=1.1
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" || return 1
./configure --prefix=/usr || return 1
make || return 1
make prefix="$pkgdir/usr" install || return 1
}