summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d92f715c46e31b69e827fc20aab2822603a4040f (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
# Maintainer: Alexandria <alxpettit@gmail.com>

_pkgname=vim-fish
pkgname=${_pkgname}-git
pkgver=1
pkgrel=2
pkgdesc='VIM runtime files for FISH stuff'
url='https://github.com/dag/vim-fish'
arch=('any')
license=('custom:MIT')
makedepends=('git')
source=("${_pkgname}::git+https://github.com/dag/${_pkgname}.git")
sha1sums=('SKIP')

provides=("${_pkgname}")
conflicts=("${_pkgname}")

pkgver() {
	cd "${srcdir}/${_pkgname}"
	git log -1 --format='%cd.%h' --date=short | tr -d -
}

package() {
	cd "${srcdir}/${_pkgname}"
        rm .git -rf
        mkdir -p "${pkgdir}/usr/share/vim/vim81"
	cp -av . "${pkgdir}/usr/share/vim/vim81"
}