task: updated to version 3.0.0, new dependency rust

This commit is contained in:
Juergen Daubert 2024-03-28 18:07:14 +01:00
parent bada753c9b
commit 547ef5f306
2 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/UjccC8oMN6JcmkRLr7roTCLSHy00XFjgYJMpoMeqkUueJ/hbgYWqtiNOBEIVZnJZGovydmwxvwP2TtWK2UA+QA=
SHA256 (Pkgfile) = fe83e961faa424a7ec98ac94b72d1bbd5496fba43d1d9ead01701e01f63a0f6e
RWSE3ohX2g5d/SP5sS/VfXW4cFwtNh7S42pZWMrwRyDYtjX2falaATWm34LpcJ5PSEhmuw+qsaQLfPbbeO8djtpjDSRURwNt0wA=
SHA256 (Pkgfile) = cf3767c00cf5a76bc0aba2d4c95d13279ab521e015107a2666fcbe3bfff59b60
SHA256 (.footprint) = 6e5ceb153278f5ebff752e832cc6627fbbc564622bc3d917cef89d973aa30cd7
SHA256 (task-2.6.2.tar.gz) = b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec
SHA256 (task-3.0.0.tar.gz) = 30f397081044f5dc2e5a0ba51609223011a23281cd9947ea718df98d149fcc83

View File

@ -1,20 +1,22 @@
# Description: Powerful task manager for the command-line
# URL: https://taskwarrior.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: util-linux cmake
# Depends on: rust util-linux
name=task
version=2.6.2
version=3.0.0
release=1
source=(https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v$version/$name-$version.tar.gz)
build() {
sed '/integration-tests/d' -i $name-$version/Cargo.toml
cmake -S $name-$version -B build \
-D CMAKE_BUILD_TYPE=release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_INSTALL_PREFIX=/usr \
-D TASK_DOCDIR=share/task \
-D ENABLE_SYNC=OFF
-D TASK_DOCDIR=share/task
cmake --build build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build