mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 12:41:59 +03:00
Ports: Add taskwarrior port
This commit is contained in:
parent
ba8bd2e558
commit
0dbca4af06
Notes:
sideshowbarker
2024-07-17 09:49:33 +09:00
Author: https://github.com/seal331 Commit: https://github.com/SerenityOS/serenity/commit/0dbca4af06 Pull-request: https://github.com/SerenityOS/serenity/pull/17794
@ -262,6 +262,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`stress-ng`](stress-ng/) | stress-ng | 0.14.03 | https://github.com/ColinIanKing/stress-ng |
|
||||
| [`Super-Mario`](Super-Mario/) | Super-Mario Clone | | https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp |
|
||||
| [`tar`](tar/) | GNU tar | 1.34 | https://www.gnu.org/software/tar/ |
|
||||
| [`taskwarrior`](taskwarrior/) | TODO list manager | 2.6.2 | https://taskwarrior.org/ |
|
||||
| [`tcl`](tcl/) | Tcl | 8.6.12 | https://www.tcl-lang.org/ |
|
||||
| [`termcap`](termcap/) | GNU termcap | 1.3.1 | https://www.gnu.org/software/termutils/ |
|
||||
| [`thesilversearcher`](thesilversearcher/) | The Silver Searcher: A fast code-searching tool | 2.2.0 | https://github.com/ggreer/the_silver_searcher |
|
||||
|
25
Ports/taskwarrior/package.sh
Executable file
25
Ports/taskwarrior/package.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='taskwarrior'
|
||||
version='2.6.2'
|
||||
useconfigure='true'
|
||||
files="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz taskwarrior-${version}.tar.gz b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec"
|
||||
auth_type='sha256'
|
||||
workdir="task-${version}"
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DENABLE_SYNC=OFF" "-DTASK_DOCDIR=share/doc/taskwarrior-2.6.2" "-DTASK_RCDIR=share/taskwarrior/rc")
|
||||
depends=("libuuid")
|
||||
|
||||
configure() {
|
||||
mkdir -p taskwarrior-build
|
||||
cmake -G "Unix Makefiles" \
|
||||
-S task-${version} \
|
||||
-B taskwarrior-build \
|
||||
"${configopts[@]}"
|
||||
}
|
||||
|
||||
build() {
|
||||
make -C taskwarrior-build
|
||||
}
|
||||
|
||||
install() {
|
||||
make -C taskwarrior-build install
|
||||
}
|
Loading…
Reference in New Issue
Block a user