Created
March 29, 2019 15:03
-
-
Save uggedal/20b1beec0e0f64b944947d23c8d432ac to your computer and use it in GitHub Desktop.
vit 1.2 -> 1.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index 967eec0bbe97..979dbcfc29ae 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,14 +1,14 @@ | |
pkgbase = vit | |
pkgdesc = A terminal interface for Taskwarrior with Vim key bindings and colorization support | |
- pkgver = 1.2 | |
- pkgrel = 2 | |
- url = http://taskwarrior.org/projects/taskwarrior/wiki/Vit | |
+ pkgver = 1.3 | |
+ pkgrel = 1 | |
+ url = https://github.com/scottkosty/vit | |
arch = any | |
license = GPL3 | |
depends = perl-curses | |
depends = task | |
- source = http://taskwarrior.org/download/vit-1.2.tar.gz | |
- sha512sums = 20d584c9414c50788390b3f90a8f2ea68204bcebd7466d27124f5c39b6fbdb56987bfb525148b4ed2e568838504183f80be001723fec99b4869600e2f2cb5e18 | |
+ source = vit-1.3.tar.gz::https://github.com/scottkosty/vit/archive/v1.3.tar.gz | |
+ sha512sums = 45ae4a1d08560d534a02a046d2fcf55c5401f9aaab0abcfbd13070fee28854268ba327018aea40317a184b9e28b074973f5d3e4169a479227e94b8401f066527 | |
pkgname = vit | |
diff --git a/PKGBUILD b/PKGBUILD | |
index f831bebadb73..62aca399c7bb 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -2,32 +2,15 @@ | |
# Contributor: Ivan Sichmann Freitas <ivansichfreitas@gmail.com> | |
pkgname=vit | |
-pkgver=1.2 | |
-pkgrel=2 | |
+pkgver=1.3 | |
+pkgrel=1 | |
pkgdesc="A terminal interface for Taskwarrior with Vim key bindings and colorization support" | |
arch=('any') | |
-url="http://taskwarrior.org/projects/taskwarrior/wiki/Vit" | |
+url="https://github.com/scottkosty/vit" | |
license=('GPL3') | |
-depends=('perl-curses' 'task') | |
-source=(http://taskwarrior.org/download/${pkgname}-${pkgver}.tar.gz) | |
-sha512sums=('20d584c9414c50788390b3f90a8f2ea68204bcebd7466d27124f5c39b6fbdb56987bfb525148b4ed2e568838504183f80be001723fec99b4869600e2f2cb5e18') | |
- | |
-prepare() { | |
- cd ${pkgname}-${pkgver} | |
- | |
- # use /usr/share/vit instead of /etc/vit | |
- sed -i "s|/etc|/share/vit|" Makefile.in vit.pl | |
- | |
- # use /usr/share/man instead of /usr/man | |
- sed -i "s|/man/|/share/man/|" Makefile.in vit.pl | |
- | |
- # use DESTDIR and do NOT use sudo for install | |
- sed -i "s|sudo ||;s| \(@prefix\)| \$(DESTDIR)/\1|" Makefile.in | |
- | |
- # allow custom perl location | |
- sed -ri "s|(#!/usr/bin/)perl -w|\1env perl|" vit.pl | |
- sed -i '/test "\$PERL" !=/,+4d' configure | |
-} | |
+depends=('perl-curses' 'perl-try-tiny' 'perl-text-charwidth' 'task') | |
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") | |
+sha512sums=('45ae4a1d08560d534a02a046d2fcf55c5401f9aaab0abcfbd13070fee28854268ba327018aea40317a184b9e28b074973f5d3e4169a479227e94b8401f066527') | |
build() { | |
cd ${pkgname}-${pkgver} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment