diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-05-11 06:57:37 -0300 |
|---|---|---|
| committer | Andy Postnikov <apostnikov@gmail.com> | 2019-05-12 17:12:36 +0300 |
| commit | a41fd4cc218dff5651c9b044290d60753ebc2aab (patch) | |
| tree | 36c5f2b5026cdb9799c9266a1e63ba29d99f7331 /testing | |
| parent | 45e89f2460d8c9320bd402478b5020e82fdb81a8 (diff) | |
| download | aports-a41fd4cc218dff5651c9b044290d60753ebc2aab.tar.bz2 aports-a41fd4cc218dff5651c9b044290d60753ebc2aab.tar.xz | |
testing/timew: upgrade to 1.1.1
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/timew/APKBUILD | 24 | ||||
| -rw-r--r-- | testing/timew/musl_limits.patch | 25 |
2 files changed, 8 insertions, 41 deletions
diff --git a/testing/timew/APKBUILD b/testing/timew/APKBUILD index 832f908d7d..902a90d33e 100644 --- a/testing/timew/APKBUILD +++ b/testing/timew/APKBUILD @@ -1,33 +1,25 @@ # Contributor: Matthieu Monnier <matthieu.monnier@enalean.com> # Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com> pkgname=timew -pkgver=1.0.0 -pkgrel=1 +pkgver=1.1.1 +pkgrel=0 pkgdesc="Timewarrior is a command line time tracking application." +options="!check" # No testsuite url="https://taskwarrior.org/" arch="all" license="MIT" -depends="" makedepends="cmake" -install="" subpackages="$pkgname-doc" -source="https://taskwarrior.org/download/$pkgname-$pkgver.tar.gz - musl_limits.patch" - -builddir="$srcdir/$pkgname-$pkgver" +source="https://taskwarrior.org/download/$pkgname-$pkgver.tar.gz" build() { - cd "$builddir" cmake . -DCMAKE_BUILD_TYPE=release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - || return 1 - make || return 1 + -DCMAKE_INSTALL_PREFIX=/usr + make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -sha512sums="0539ff93b2375c154d126c39aa84f21b57b62f51c220c80b2e323a4d6aefd2eda6f87c04112e096222102b019ee3683a78b9ee9d6fbf6736d4a34c529f6152f5 timew-1.0.0.tar.gz -4c59c87d56d5babbe3095cb5c01431dfad703a28332464d71d75cc2a6db5727686680bbd771783797ead3cfcf9597df717198eadfd61421c5b6bca1c0a2f1fd4 musl_limits.patch" +sha512sums="d262227d6dc99994599252c9fc55d32e4caac9d5ff1f223b8637005ed9f4f7fa238bd5cb7392c8e42a468f6246a7afad9b6fdb02af636e53d3bd813cfc3ee110 timew-1.1.1.tar.gz" diff --git a/testing/timew/musl_limits.patch b/testing/timew/musl_limits.patch deleted file mode 100644 index ae640d69b5..0000000000 --- a/testing/timew/musl_limits.patch +++ /dev/null @@ -1,25 +0,0 @@ -commit e8ae212aca78e332a03e79a4dacc75cfffa43011 -Author: Breno Leitao <breno.leitao@gmail.com> -Date: Tue April 04 14:12:11 2017 -0300 - - Include limits.h if you want to use PATH_MAX - - timew FTBFS on ppc64le due to lack of PATH_MAX being implicitly defined. - On ppc64le, if you wish to have access to this macro, you must have - limits.h included explicitly. - - Signed-off-by: Breno Leitao <breno.leitao@gmail.com> - -Index: timew/src/timew-1.0.0/src/libshared/src/FS.cpp -=================================================================== ---- a/src/libshared/src/FS.cpp -+++ b/src/libshared/src/FS.cpp -@@ -41,7 +41,7 @@ - #include <shared.h> - #include <format.h> - --#if defined SOLARIS || defined NETBSD || defined FREEBSD -+#if defined SOLARIS || defined NETBSD || defined FREEBSD || !defined(PATH_MAX) - #include <limits.h> - #endif - |
