Files
chromebrew/packages/taskwarrior.rb
Ed Reel da36db4c64 Taskwarrior 3.2.0 => 3.4.2 (#15304)
Co-authored-by: Max Downey Twiss <creatorsmithmdt@gmail.com>
2026-03-30 03:24:48 +00:00

36 lines
1.3 KiB
Ruby

require 'buildsystems/cmake'
class Taskwarrior < CMake
description 'Free and Open Source Software that manages your TODO list from the command line.'
homepage 'https://taskwarrior.org/'
version '3.4.2'
license 'MIT'
compatibility 'all'
source_url "https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v#{version}/task-#{version}.tar.gz"
source_sha256 'd302761fcd1268e4a5a545613a2b68c61abd50c0bcaade3b3e68d728dd02e716'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '65380b475f3d78162f310c8ca629f63bf58b65fe9f49d7e3d9fcf472fa2807ab',
armv7l: '65380b475f3d78162f310c8ca629f63bf58b65fe9f49d7e3d9fcf472fa2807ab',
i686: '3c5a52de156aaab82b7329db564f850172558180eab8889e56b9da469126ce82',
x86_64: '749d58b626149f940437902a05dc6299ce7e973f9d824d75cbe8e08114441b0b'
})
depends_on 'gcc_lib' => :executable
depends_on 'glibc' => :executable
depends_on 'llvm_dev' => :build
depends_on 'rust' => :build
depends_on 'util_linux' => :executable
def self.postinstall
ExitMessage.add "\nType 'man task' for help to get started.\n"
end
def self.postremove
Package.agree_to_remove("#{HOME}/.task")
Package.agree_to_remove("#{HOME}/.config/task")
Package.agree_to_remove("#{HOME}/.taskrc")
end
end