void-packages/srcpkgs/pdmenu/template
Jürgen Buchmüller 4d37e4107a pdmenu: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:39 +02:00

24 lines
654 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="Jürgen Buchmüller <pullmoll@t-online.de>"
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
}