Merge pull request #5342 from kalichakra/misc
New package: typespeed-0.6.5
This commit is contained in:
commit
6e780719ba
|
@ -0,0 +1,6 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
chgrp users var/games/typespeed.score
|
||||
chmod 0664 var/games/typespeed.score
|
||||
;;
|
||||
esac
|
|
@ -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>
|
|
@ -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 New Issue