summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 043d69cb2f9b7cbe2c1de74e33eb3d94d614fe0b (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
# Maintainer: Mark Cohen <m@markpcohen.com>

pkgname=v
pkgver=24
pkgrel=1
pkgdesc='z for vim'
arch=('i686' 'x86_64')
url="https://github.com/rupa/v"
optdepends=('vim' 'gvim' 'neovim' 'vim-minimal')
makedepends=('git')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("git://github.com/rupa/${pkgname}.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$pkgname"
	git rev-list --count HEAD
}

package() {
	cd "$srcdir/$pkgname"
	install -D ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
	install -D -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
}