# 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 freetypeinc.patch" _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 -C "$_builddir" || return 1 } package() { make PREFIX=/usr DESTDIR="$pkgdir" \ -C "$_builddir" install || return 1 } md5sums="f0b6b1093b7207f89c2a90b848c008ec dwm-6.1.tar.gz a5ff4aa30011dfe8b0ab7d6b35a8b6eb freetypeinc.patch" sha256sums="c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe dwm-6.1.tar.gz 09cad929338b4caf32a7c77fa46dd6d968019e928f010c2f61a172069cccc2be freetypeinc.patch" sha512sums="875644bbc246088f2c87e50debbadd4bc179444b396b1b327149087e8bc5303325ebc9103a7e3c864266ee1ac683ea3cd8f0a08285c8e46fc4389d5b83a555f1 dwm-6.1.tar.gz 6705591b265120536071490d42f31a830431ad1c74a70d36f1dba4d0aa27a96338516d19507b092c2989d3116f2219fb0849e9fb3cb84c8f1db82350f8ca0adf freetypeinc.patch"