# Contributor: Eivind Uggedal # Maintainer: Sören Tempel pkgname=dmenu pkgver=4.6 pkgrel=0 pkgdesc="Dynamic menu for X" url="http://tools.suckless.org/dmenu/" arch="all" license="MIT" depends="" depends_dev="" makedepends="libx11-dev libxinerama-dev libxft-dev" install="" subpackages="$pkgname-doc" source="http://dl.suckless.org/tools/$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 DESTDIR=$pkgdir PREFIX=/usr \ -C "$_builddir" install } md5sums="6fedf081133bc0725cb040b3b8ac3fac dmenu-4.6.tar.gz" sha256sums="4a7a24008a621c3cd656155ad91ab8136db8f0d3b9ec56dafeec518cabda96b3 dmenu-4.6.tar.gz" sha512sums="e54fd10c0b1274eb90173aea442f0bfc496f4dda861a36d94f939e1fd835594f9aa12f3d0f90043d64e519d919b9a5273ab65012230ac022f727ee6bb64862e3 dmenu-4.6.tar.gz"