[arch-commits] Commit in timew/repos/community-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Fri Nov 29 17:45:17 UTC 2019


    Date: Friday, November 29, 2019 @ 17:45:17
  Author: jelle
Revision: 534484

archrelease: copy trunk to community-x86_64

Added:
  timew/repos/community-x86_64/PKGBUILD
    (from rev 534482, timew/trunk/PKGBUILD)
  timew/repos/community-x86_64/timew.install
    (from rev 534483, timew/trunk/timew.install)
Deleted:
  timew/repos/community-x86_64/PKGBUILD
  timew/repos/community-x86_64/timew.install

---------------+
 PKGBUILD      |   77 ++++++++++++++++++++++++--------------------------------
 timew.install |   14 +++++-----
 2 files changed, 40 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-29 17:45:14 UTC (rev 534483)
+++ PKGBUILD	2019-11-29 17:45:17 UTC (rev 534484)
@@ -1,44 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: Joost Bremmer <toost dot b at gmail dot com>
-
-pkgname=timew
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="A command line time tracking application"
-arch=('x86_64')
-url="http://taskwarrior.org/docs/timewarrior/"
-license=('MIT')
-makedepends=('cmake' 'gcc-libs')
-optdepends=('task: Taskwarrior integration')
-provides=('timew')
-conflicts=('timew-git')
-install=$pkgname.install
-source=("https://taskwarrior.org/download/timew-${pkgver}.tar.gz")
-sha256sums=('1f7d9a62e55fc5a3126433654ccb1fd7d2d135f06f05697f871897c9db77ccc9')
-
-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 .
-    make
-}
-
-
-package() {
-    cd "${pkgname}-${pkgver}"
-
-    make DESTDIR=${pkgdir} install
-
-    # Install the refresh holiday scripts in /usr/bin/ for user convenience.
-    chmod 755 "${pkgdir}/usr/share/doc/timew/doc/holidays/refresh"
-    ln -s "/usr/share/doc/timew/doc/holidays/refresh" "${pkgdir}/usr/bin/timew-refresh-holidays"
-}

Copied: timew/repos/community-x86_64/PKGBUILD (from rev 534482, timew/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-29 17:45:17 UTC (rev 534484)
@@ -0,0 +1,33 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Joost Bremmer <toost dot b at gmail dot com>
+
+pkgname=timew
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A command line time tracking application"
+arch=('x86_64')
+url="https://taskwarrior.org/docs/timewarrior/"
+license=('MIT')
+makedepends=('cmake' 'gcc-libs')
+optdepends=('task: Taskwarrior integration'
+            'python: Holiday refresh script')
+install=$pkgname.install
+source=("https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${pkgver}/timew-${pkgver}.tar.gz")
+sha256sums=('2c4d153105a32536ae328038246ebd846a5abd96df7ed29c11100866eaed8e3c')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr .
+    make
+}
+
+
+package() {
+    cd "${pkgname}-${pkgver}"
+
+    make DESTDIR=${pkgdir} install
+
+    # Install the refresh holiday scripts in /usr/bin/ for user convenience.
+    chmod 755 "${pkgdir}/usr/share/doc/timew/doc/holidays/refresh"
+    ln -s "/usr/share/doc/timew/doc/holidays/refresh" "${pkgdir}/usr/bin/timew-refresh-holidays"
+}

Deleted: timew.install
===================================================================
--- timew.install	2019-11-29 17:45:14 UTC (rev 534483)
+++ timew.install	2019-11-29 17:45:17 UTC (rev 534484)
@@ -1,7 +0,0 @@
-post_install() {
-    echo "You can find the taskwarrior on-modify-hook at:
-        /usr/share/doc/timew/ext/on-modify.timewarrior"
-    echo
-    echo "You can use /usr/bin/timew-refresh-holidays to download holiday schedules"
-    echo "Please see: http://taskwarrior.org/docs/timewarrior/holidays.html for more info"
-}

Copied: timew/repos/community-x86_64/timew.install (from rev 534483, timew/trunk/timew.install)
===================================================================
--- timew.install	                        (rev 0)
+++ timew.install	2019-11-29 17:45:17 UTC (rev 534484)
@@ -0,0 +1,7 @@
+post_install() {
+    echo "You can find the taskwarrior on-modify-hook at:
+        /usr/share/doc/timew/ext/on-modify.timewarrior"
+    echo
+    echo "You can use /usr/bin/timew-refresh-holidays to download holiday schedules"
+    echo "Please see: http://taskwarrior.org/docs/timewarrior/holidays.html for more info"
+}



More information about the arch-commits mailing list