blob: da88beaba3f333c4765c81257b2451c6d2f620f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=task
pkgver=2.2.0
pkgrel=1
pkgdesc="A command-line to do list manager"
url="http://taskwarrior.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev cmake util-linux-dev"
install=""
subpackages="$pkgname-doc"
source="http://taskwarrior.org/download/task-$pkgver.tar.gz
musl-fix.patch
"
_builddir="$srcdir"/task-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir"
}
md5sums="eb5af01b51b90e01b574464a5d11d4e9 task-2.2.0.tar.gz
6bb238053ac82c5561534fba2c2b66b1 musl-fix.patch"
sha256sums="39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14 task-2.2.0.tar.gz
b01d952072f823f30c860aca467be24de1d4bbd901dbcd4d9fd09a227bfdd4a9 musl-fix.patch"
sha512sums="16ff1ccd037d62fc99ea0a31647714d3ccf8a90948b67d845d55e08e4bf49bb6a7f69f7464f485093abeff0672f17dc5f6d4efd96d2e447316975d185082f862 task-2.2.0.tar.gz
40a37810053e9720656b877cafc2fcb48cf1c867a89df0e4fd26f2e2dc4fd635fb8cab70bcc169c4a2b48480a90aef52594b9052479c168a1974fdcc7c7f495f musl-fix.patch"
|