summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f0d75afcb02340f2b537e916befa4d46f181d4d (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=20201118.ca0001d
pkgrel=1
pkgdesc='VIM runtime files for FISH stuff'
url='https://github.com/blankname/vim-fish'
arch=('any')
license=('custom:MIT')
makedepends=('git')
source=("${_pkgname}::git+https://github.com/blankname/${_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"
}