blob: 12c9d6b2b3558fa4299f438ccd5c09f30d6e7e0c (
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
49
50
51
52
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=task
pkgver=2.4.0
pkgrel=0
pkgdesc="A command-line to do list manager"
url="http://taskwarrior.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev cmake gnutls-dev util-linux-dev"
install=""
subpackages="$pkgname-doc"
source="http://taskwarrior.org/download/task-$pkgver.tar.gz
musl-fix.patch
musl-mktime.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="de4b64b3d28bb9636af219a486552cd0 task-2.4.0.tar.gz
1e826dcc0aa6a0c08a6e2b7c450945cd musl-fix.patch
4980bd6048d3b55d7702da0a904820f0 musl-mktime.patch"
sha256sums="6fa595f5b0fdf6ee8031da39e8d009771bda135f265d5f7b59df8046ffd9119e task-2.4.0.tar.gz
60ece7d726ad383434a802dbfb6d4479200457031e879af0c95e3dd416d562fb musl-fix.patch
85f5fab64e7587c368befee0a8d7d5e5ea78dd5b253ed2f2d125ef9376cd73ef musl-mktime.patch"
sha512sums="d5542f0cc832b488ae29893b8cdca0ae4a8789a21681e1952474019830c9959a47d6f74cbd6660cc308d290782e0eec64fde65d6b767a5343ce6bb9146724dad task-2.4.0.tar.gz
d9e704d47cb1e5a151b39d2733b40fe9a8503d08329bbc4dbe385c59b0dfe6fb60f59888aa10f5139937cd0012326606c9edbdd0677af444d1e66d8c867cceb7 musl-fix.patch
2aec23e50db7bdbd5f455f73f8d7463d8607b7f4b8e986ba70bbe1c8bf1660cd318363b3d4954d65e39e66dd05bc4b051370da1cde1108299e55090d2a8bdb2e musl-mktime.patch"
|