# Maintainer: éclairevoyant # Contributor: éclairevoyant # Contributor: Håvard Pettersson # Contributor: Levente Polyak # Contributor: T dot J dot Townsend # Contributor: Sergej Pupykin # Contributor: Bartłomiej Piotrowski # Contributor: Thorsten Töpper # Contributor: Thayer Williams # Contributor: Jeff 'codemac' Mickey _pkgname=dmenu pkgname="$_pkgname-git" pkgver=5.2.r7.7ab0cb5 pkgrel=1 pkgdesc="Generic menu for X" arch=(i686 x86_64) url="https://tools.suckless.org/dmenu/" license=(MIT) depends=( coreutils fontconfig freetype2 glibc libfontconfig.so libx11 libxft libxinerama sh ) makedepends=(git) provides=("$_pkgname=${pkgver%%.r*}") conflicts=("$_pkgname") source=("git+https://git.suckless.org/$_pkgname") b2sums=('SKIP') pkgver() { git -C $_pkgname describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g' } prepare() { cd $_pkgname # to use a custom config.h, place it in the package directory if [[ -f ${SRCDEST}/config.h ]]; then cp "${SRCDEST}/config.h" . fi cat >> config.mk <