[arch-commits] Commit in timew/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Nov 29 17:45:08 UTC 2019
Date: Friday, November 29, 2019 @ 17:45:07
Author: jelle
Revision: 534482
upgpkg: timew 1.2.0-1
Upstream update
Modified:
timew/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-29 17:44:18 UTC (rev 534481)
+++ PKGBUILD 2019-11-29 17:45:07 UTC (rev 534482)
@@ -2,7 +2,7 @@
# Contributor: Joost Bremmer <toost dot b at gmail dot com>
pkgname=timew
-pkgver=1.1.1
+pkgver=1.2.0
pkgrel=1
pkgdesc="A command line time tracking application"
arch=('x86_64')
@@ -9,23 +9,12 @@
url="https://taskwarrior.org/docs/timewarrior/"
license=('MIT')
makedepends=('cmake' 'gcc-libs')
-optdepends=('task: Taskwarrior integration')
-provides=('timew')
-conflicts=('timew-git')
+optdepends=('task: Taskwarrior integration'
+ 'python: Holiday refresh script')
install=$pkgname.install
-source=("https://taskwarrior.org/download/timew-${pkgver}.tar.gz")
-sha256sums=('1f7d9a62e55fc5a3126433654ccb1fd7d2d135f06f05697f871897c9db77ccc9')
+source=("https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${pkgver}/timew-${pkgver}.tar.gz")
+sha256sums=('2c4d153105a32536ae328038246ebd846a5abd96df7ed29c11100866eaed8e3c')
-prepare() {
- cd "${pkgname}-${pkgver}"
-
- # Fix Python shebang, fixed upstream in 1.1.0
- # https://git.tasktools.org/projects/TM/repos/timew/commits/5ddef40d8272be870e05ee3753dcf3bbe35e2bd9
- sed -i 's/env python/env python2/g' doc/holidays/refresh
- sed -i 's/env python/env python2/g' ext/on-modify.timewarrior
- sed -i 's/env python/env python2/g' ext/totals.py
-}
-
build() {
cd "${pkgname}-${pkgver}"
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr .
More information about the arch-commits
mailing list