mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
New package: timewarrior-1.0.0
This commit is contained in:
parent
f11797669e
commit
e70753b5e0
2 changed files with 29 additions and 0 deletions
13
srcpkgs/timewarrior/patches/musl.patch
Normal file
13
srcpkgs/timewarrior/patches/musl.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- src/libshared/src/FS.cpp.old 2016-11-14 18:06:06.269639871 -0500
|
||||||
|
+++ src/libshared/src/FS.cpp 2016-11-14 18:11:33.523550960 -0500
|
||||||
|
@@ -905,8 +905,8 @@
|
||||||
|
free (buf);
|
||||||
|
return result;
|
||||||
|
#else
|
||||||
|
- char buf[PATH_MAX];
|
||||||
|
- getcwd (buf, PATH_MAX - 1);
|
||||||
|
+ char buf[FILENAME_MAX];
|
||||||
|
+ getcwd (buf, FILENAME_MAX - 1);
|
||||||
|
return std::string (buf);
|
||||||
|
#endif
|
||||||
|
}
|
16
srcpkgs/timewarrior/template
Normal file
16
srcpkgs/timewarrior/template
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'timewarrior'
|
||||||
|
pkgname=timewarrior
|
||||||
|
version=1.0.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="timew-${version}"
|
||||||
|
build_style=cmake
|
||||||
|
short_desc="Track time from the command line"
|
||||||
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://timewarrior.net"
|
||||||
|
distfiles="https://taskwarrior.org/download/timew-${version}.tar.gz"
|
||||||
|
checksum=ac027910e1e8365bdd218a8b42389b26d017d38d3c96516c408db6d5a44e0bb5
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue