# Contributor: Gaber Ayoubi # Maintainer: pkgname=dwm pkgver=6.0 pkgrel=0 pkgdesc="dwm - dynamic window manager" url="http://dwm.suckless.org" arch="all" license="MIT/X" depends="" depends_dev="" makedepends="$depends_dev libx11-dev libxinerama-dev" install="" subpackages="$pkgname-doc" source="http://dl.suckless.org/dwm/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/dwm-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 } md5sums="8bb00d4142259beb11e13473b81c0857 dwm-6.0.tar.gz" sha256sums="b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56 dwm-6.0.tar.gz" sha512sums="895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00 dwm-6.0.tar.gz"