diff --git a/srcpkgs/typespeed/INSTALL b/srcpkgs/typespeed/INSTALL new file mode 100644 index 0000000000..4f66549e45 --- /dev/null +++ b/srcpkgs/typespeed/INSTALL @@ -0,0 +1,6 @@ +case "${ACTION}" in +post) + chgrp users var/games/typespeed.score + chmod 0664 var/games/typespeed.score + ;; +esac diff --git a/srcpkgs/typespeed/patches/time.patch b/srcpkgs/typespeed/patches/time.patch new file mode 100644 index 0000000000..2d5d36ee92 --- /dev/null +++ b/srcpkgs/typespeed/patches/time.patch @@ -0,0 +1,10 @@ +--- src/typespeed.h.orig 2016-12-13 18:24:16.347222016 +0100 ++++ src/typespeed.h 2016-12-13 19:40:56.049362425 +0100 +@@ -27,6 +27,7 @@ + + #include + #include ++#include + + #ifdef WIN32 + #include diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template new file mode 100644 index 0000000000..d77fba4fac --- /dev/null +++ b/srcpkgs/typespeed/template @@ -0,0 +1,19 @@ +# Template file for 'typespeed' +pkgname="typespeed" +version="0.6.5" +revision=1 +build_style=gnu-configure +makedepends="gettext-devel ncurses-devel" +conf_files="/etc/typespeedrc" +short_desc="Test your typing speed" +maintainer="David " +license="GPL-2" +homepage="http://typespeed.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961" + +post_configure() { + for dir in src testsuite; do + sed -i 's/CC = gcc//' $dir/Makefile + done +}