# Contributor: Eivind Uggedal # Maintainer: Sören Tempel pkgname=dmenu pkgver=5.2 pkgrel=1 pkgdesc="Dynamic menu for X" url="https://tools.suckless.org/dmenu/" arch="all" license="MIT" makedepends="libx11-dev libxinerama-dev libxft-dev" options="!check" subpackages="$pkgname-doc" source="https://dl.suckless.org/tools/dmenu-$pkgver.tar.gz" provides="dmenu-virtual" provider_priority=100 prepare() { default_prepare sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ -e '/LDFLAGS/{s/=/+=/}' \ config.mk } build() { make X11INC=/usr/include/X11 \ X11LIB=/usr/lib/X11 \ FREETYPEINC=/usr/include/freetype2 } package() { make DESTDIR=$pkgdir PREFIX=/usr install } sha512sums=" 7be9bb76b11225ec86a30e643e9b884f6d13af581526085212cb7401383d448a72fe4dffc3ce84ffb8319dbf36ca8384597a89070cd27d39d5618f239a2da6e3 dmenu-5.2.tar.gz "