blob: 79d2ea522180b3d8fd979e1afa215dfa695f2f1a (
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
|
# Maintainer: lmartinez-mirror
pkgname=forgit-git
_pkgname=${pkgname%-git}
pkgver=r273.c57c9f9
pkgrel=1
pkgdesc="Utility tool powered by fzf for using git interactively"
arch=('any')
url="https://github.com/wfxr/forgit"
license=('MIT')
groups=('fish-plugins' 'zsh-plugins')
depends=('fzf')
optdepends=('bash: supported shell'
'zsh: supported shell'
'fish: supported shell'
'delta: human readable diffs'
'diff-so-fancy: human readable diffs'
'bat: syntax highlighting for .gitignore'
'emoji-cli: emoji support for git log')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
# fish install
install -Dm 644 conf.d/forgit.plugin.fish "$pkgdir/etc/fish/conf.d/forgit.plugin.fish"
# license
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|