New package: typespeed-0.6.5
This commit is contained in:
parent
5c912869ed
commit
d723517851
3 changed files with 35 additions and 0 deletions
6
srcpkgs/typespeed/INSTALL
Normal file
6
srcpkgs/typespeed/INSTALL
Normal file
|
@ -0,0 +1,6 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
chgrp users var/games/typespeed.score
|
||||
chmod 0664 var/games/typespeed.score
|
||||
;;
|
||||
esac
|
10
srcpkgs/typespeed/patches/time.patch
Normal file
10
srcpkgs/typespeed/patches/time.patch
Normal file
|
@ -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 <stdint.h>
|
||||
#include <stdio.h>
|
||||
+#include <time.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <dirent.h>
|
19
srcpkgs/typespeed/template
Normal file
19
srcpkgs/typespeed/template
Normal file
|
@ -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 <kalichakra@zoho.com>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue