void-packages/srcpkgs/pdmenu/template

25 lines
643 B
Bash

# Template file for 'pdmenu'
pkgname=pdmenu
version=1.3.4
revision=3
wrksrc="${pkgname}"
build_style=gnu-configure
hostmakedepends="gettext pkg-config"
makedepends="slang-devel"
short_desc="Full screen menuing system for Unix"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
homepage="https://joeyh.name/code/pdmenu/"
distfiles="http://http.debian.net/debian/pool/main/p/pdmenu/${pkgname}_${version}.tar.gz"
checksum=302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
conf_files="/etc/pdmenurc"
CFLAGS="-fcommon"
pre_configure() {
export LIBS="$LDFLAGS"
}
do_install() {
make INSTALL_PREFIX=${DESTDIR} install
}