void-packages/srcpkgs/typespeed/template

23 lines
627 B
Bash

# Template file for 'typespeed'
pkgname=typespeed
version=0.6.5
revision=2
build_style=gnu-configure
makedepends="gettext-devel ncurses-devel"
conf_files="/etc/typespeedrc"
short_desc="Test your typing speed"
maintainer="David <kalichakra@zoho.com>"
license="GPL-2.0-or-later"
homepage="http://typespeed.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961"
mutable_files="/var/games/typespeed.score"
CFLAGS="-fcommon"
post_configure() {
for dir in src testsuite; do
sed -i 's/CC = gcc//' $dir/Makefile
done
}