diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-30 12:20:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-30 12:20:06 +0000 |
commit | 6b85d6b99939dec708c3a1a27dd4647aa60c7afa (patch) | |
tree | d932098b91a05cd3d2abea2fb2ea604bee7016bc /main/task | |
parent | 452ea8423e6e320693ef28fe6fb2f7610340c557 (diff) | |
download | aports-6b85d6b99939dec708c3a1a27dd4647aa60c7afa.tar.bz2 aports-6b85d6b99939dec708c3a1a27dd4647aa60c7afa.tar.xz |
main/task: moved from testing
fixes #2227
Diffstat (limited to 'main/task')
-rw-r--r-- | main/task/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/task/APKBUILD b/main/task/APKBUILD new file mode 100644 index 0000000000..adc6d2103f --- /dev/null +++ b/main/task/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=task +pkgver=2.2.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 util-linux-dev" +install="" +subpackages="$pkgname-doc" +source="http://taskwarrior.org/download/task-$pkgver.tar.gz" + +_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" +sha256sums="39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14 task-2.2.0.tar.gz" +sha512sums="16ff1ccd037d62fc99ea0a31647714d3ccf8a90948b67d845d55e08e4bf49bb6a7f69f7464f485093abeff0672f17dc5f6d4efd96d2e447316975d185082f862 task-2.2.0.tar.gz" |