blob: 4490fe8f33af60befa8ba343e60295cf2e00cd12 (
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
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=vim-signify-git
_pkgname=vim-signify
pkgver=r770.69498f6
pkgrel=1
pkgdesc='Show a diff using Vim its sign column'
arch=('any')
url='https://github.com/mhinz/vim-signify'
license=('MIT')
depends=('vim-plugin-runtime')
optdepends=('git: git support'
'yadm: yadm support'
'mercurial: mercurial support'
'subversion: subversion support'
'breezy: breezy support'
'darcs: darcs support'
'fossil: fossil support'
'cvs: cvs support'
'rcs: rcs support'
'p4: perforce support'
'tee-clc: tfs support')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
find autoload doc plugin -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/vim/vimfiles/{}" \;
install -Dm 644 "${srcdir}/${_pkgname}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|