mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
9144d145a3
commit
ca07dd32f8
2 changed files with 16 additions and 3 deletions
11
srcpkgs/task/patches/taskchampion.patch
Normal file
11
srcpkgs/task/patches/taskchampion.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/taskchampion/lib/src/atomic.rs~
|
||||||
|
+++ b/taskchampion/lib/src/atomic.rs
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
unsafe fn from_ctype(self) -> Option<DateTime<Utc>> {
|
||||||
|
if self != 0 {
|
||||||
|
- return Some(utc_timestamp(self));
|
||||||
|
+ return Some(utc_timestamp(self.into()));
|
||||||
|
}
|
||||||
|
None
|
||||||
|
}
|
|
@ -1,15 +1,17 @@
|
||||||
# Template file for 'task'
|
# Template file for 'task'
|
||||||
pkgname=task
|
pkgname=task
|
||||||
version=2.6.2
|
version=3.0.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="libuuid-devel gnutls-devel"
|
build_helper="rust"
|
||||||
|
hostmakedepends="rust cargo"
|
||||||
|
makedepends="libuuid-devel gnutls-devel rust-std"
|
||||||
short_desc="Task Warrior command-line todo list manager"
|
short_desc="Task Warrior command-line todo list manager"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://taskwarrior.org"
|
homepage="https://taskwarrior.org"
|
||||||
distfiles="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz"
|
distfiles="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz"
|
||||||
checksum=b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec
|
checksum=633b76637b0c74e4845ffa28249f01a16ed2c84000ece58d4358e72bf88d5f10
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vcompletion scripts/zsh/_task zsh
|
vcompletion scripts/zsh/_task zsh
|
||||||
|
|
Loading…
Add table
Reference in a new issue