# Contributor: Gaber Ayoubi # Maintainer: Sören Tempel pkgname=dwm pkgver=6.1 pkgrel=0 pkgdesc="dwm - dynamic window manager" url="http://dwm.suckless.org" arch="all" license="MIT/X" depends="" depends_dev="" makedepends="libxft-dev libx11-dev libxinerama-dev" install="" subpackages="$pkgname-doc" source="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$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() { make X11INC=/usr/include/X11 \ X11LIB=/usr/lib/X11 \ FREETYPEINC=/usr/include/freetype2 \ -C "$_builddir" || return 1 } package() { make PREFIX=/usr DESTDIR="$pkgdir" \ -C "$_builddir" install || return 1 } md5sums="f0b6b1093b7207f89c2a90b848c008ec dwm-6.1.tar.gz" sha256sums="c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe dwm-6.1.tar.gz" sha512sums="875644bbc246088f2c87e50debbadd4bc179444b396b1b327149087e8bc5303325ebc9103a7e3c864266ee1ac683ea3cd8f0a08285c8e46fc4389d5b83a555f1 dwm-6.1.tar.gz"