1 # $Id: PKGBUILD 3138 2009-09-28 09:21:30Z spupykin $
2 # Maintainer: Patrice Peterson <runiq at archlinux dot us>
3 # Contributor: Sergej Pupykin <pupykin.s+arch at gmail dot com>
4 # Contributor: Dag Odenhall <dag.odenhall at gmail dot com>
5 # Contributor: Grigorios Bouzakis <grbzks at gmail dot com>
10 pkgdesc="A dynamic window manager for X - with Pango support"
11 url="http://dwm.suckless.org"
12 arch=('i686' 'x86_64')
14 depends=('libxinerama' 'pango')
19 source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
22 md5sums=('8bb00d4142259beb11e13473b81c0857'
23 '9e4e876a6f0ee77034694a223b2ca68a'
24 '39fbfaa423ebc40b1ecb92eecf4ea638')
27 cd $srcdir/dwm-$pkgver
28 msg "Applying pango patch…"
29 patch -Np1 -i ../dwm-6.0-pango.patch || return 1
31 cp $srcdir/config.h config.h
33 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
34 make PREFIX=/usr DESTDIR=$pkgdir install || return 1
36 install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
37 install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README