updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / dwm-pango / PKGBUILD
blob60373f7f3dbbf575509cd8b69f77142ff09ba366
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>
7 pkgname=dwm-pango
8 pkgver=6.0
9 pkgrel=1
10 pkgdesc="A dynamic window manager for X - with Pango support"
11 url="http://dwm.suckless.org"
12 arch=('i686' 'x86_64')
13 license=('MIT')
14 depends=('libxinerama' 'pango')
15 options=(zipman)
16 provides=('dwm')
17 conflicts=('dwm')
18 install=dwm.install
19 source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
20         dwm-6.0-pango.patch
21         config.h)
22 md5sums=('8bb00d4142259beb11e13473b81c0857'
23          '9e4e876a6f0ee77034694a223b2ca68a'
24          '39fbfaa423ebc40b1ecb92eecf4ea638')
26 build() {
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