[arch-commits] Commit in timew/repos/community-x86_64 (4 files)
Jelle van der Waa
jelle at archlinux.org
Sun Jan 14 15:41:34 UTC 2018
Date: Sunday, January 14, 2018 @ 15:41:33
Author: jelle
Revision: 282077
archrelease: copy trunk to community-x86_64
Added:
timew/repos/community-x86_64/PKGBUILD
(from rev 282076, timew/trunk/PKGBUILD)
timew/repos/community-x86_64/timew.install
(from rev 282076, timew/trunk/timew.install)
Deleted:
timew/repos/community-x86_64/PKGBUILD
timew/repos/community-x86_64/timew.install
---------------+
PKGBUILD | 88 ++++++++++++++++++++++++++++----------------------------
timew.install | 14 ++++----
2 files changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-14 15:41:20 UTC (rev 282076)
+++ PKGBUILD 2018-01-14 15:41:33 UTC (rev 282077)
@@ -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.0.0
-pkgrel=4
-pkgdesc="A command line time tracking application"
-arch=('x86_64' 'i686')
-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=('ac027910e1e8365bdd218a8b42389b26d017d38d3c96516c408db6d5a44e0bb5')
-
-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 282076, timew/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-14 15:41:33 UTC (rev 282077)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Joost Bremmer <toost dot b at gmail dot com>
+
+pkgname=timew
+pkgver=1.1.0
+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=('09c7b48b98922e15792cf13a2d5a5b7f60dceeab130a2920a3d664ea2892dc4a')
+
+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"
+}
Deleted: timew.install
===================================================================
--- timew.install 2018-01-14 15:41:20 UTC (rev 282076)
+++ timew.install 2018-01-14 15:41:33 UTC (rev 282077)
@@ -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 282076, timew/trunk/timew.install)
===================================================================
--- timew.install (rev 0)
+++ timew.install 2018-01-14 15:41:33 UTC (rev 282077)
@@ -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