summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7beca34d1c16ee934e489c8ea674f23ecd3fe666 (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
# Maintainer: DaZ <daz.root+arch@gmail.com>

pkgname=gnvim-git
url="https://github.com/vhakulinen/gnvim"
pkgdesc="GUI for neovim, without any web bloat"
pkgver=r158.b279ea6
pkgrel=1
arch=('i686' 'x86_64')
license=('MIT')
depends=('neovim' 'gtk3' 'webkit2gtk')
makedepends=('git' 'cargo' 'rust')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+https://github.com/vhakulinen/gnvim.git")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/${pkgname}"
    make
}

package() {
    cd "$srcdir/${pkgname}"
    make DESTDIR="$pkgdir/" install
}