summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f75bff683c5db7c9d11ec2758191b9973bbd9406 (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
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: sekret

_pkgname=vim-fish
pkgname=${_pkgname}-git
pkgver=1
pkgrel=1
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"
}