blob: ecea7f85a0934cccb28298978ec0b12389b12128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Jakub FiĊĦer <kubaCURLYSYMBOLufiseruSMALLPOINTSYMBOlcz>
# Contributor: Levente Polyak <levente[at]leventepolyak[dot]net>
# Contributor: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>
pkgname=vit-git
pkgver=r175.d72d6e0
pkgrel=1
pkgdesc="A terminal interface for Taskwarrior with Vim key bindings and colorization support. GIT version."
arch=('any')
url="https://github.com/scottkosty/vit"
license=('GPL3')
depends=('perl-curses' 'perl-text-charwidth' 'task')
makedepends=( 'git' )
source=(git+https://github.com/scottkosty/vit.git)
sha512sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd ${pkgname%-git}
# allow custom perl location
sed -ri "s|(#!/usr/bin/)perl -w|\1env perl|" vit.pl
}
build() {
cd ${pkgname%-git}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname%-git}
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|