-
Notifications
You must be signed in to change notification settings - Fork 15
/
PKGBUILD
26 lines (23 loc) · 906 Bytes
/
PKGBUILD
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
# Maintainer: beeender <[email protected]>
pkgname=('glrnvim')
_pkgname="glrnvim"
pkgver=1.0.0
pkgrel=0
arch=('x86_64' 'i686')
url='https://github.com/beeender/glrnvim'
license=('GPL3')
makedepends=('rust' 'cargo' 'git')
source=("git+https://github.com/beeender/glrnvim.git#tag=v$pkgver")
sha256sums=('SKIP')
package_glrnvim() {
pkgdesc="A GPU-accelerated neovim GUI."
depends=('neovim')
optdepends=('alacritty' 'urxvt' 'kitty')
provides=('glrnvim')
cd "$srcdir/$_pkgname"
env CARGO_INCREMENTAL=0 cargo build --release
install -Dm755 "$srcdir/$_pkgname/target/release/glrnvim" "$pkgdir/usr/bin/glrnvim"
install -Dm644 $srcdir/$_pkgname/config.yml "$pkgdir/usr/share/doc/glrnvim/example/config.yml"
install -Dm644 $srcdir/$_pkgname/glrnvim.desktop "$pkgdir/usr/share/applications/glrnvim.desktop"
install -Dm644 $srcdir/$_pkgname/glrnvim.svg "$pkgdir/usr/share/icons/glrnvim.svg"
}