summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley Moore2017-09-26 09:50:29 +1000
committerWesley Moore2017-09-26 09:50:29 +1000
commitec3304fe3435eb685e6860a405848828cf6ad524 (patch)
tree430864cdc9fd2013af4954bfc2c12a44b2cdd6bb
downloadaur-ec3304fe3435eb685e6860a405848828cf6ad524.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD32
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dd6a1cefe47
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = neovim-gtk-git
+ pkgdesc = A simple, fast and user-friendly alternative to find.
+ pkgver = 319
+ pkgrel = 1
+ url = https://github.com/daa84/neovim-gtk
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = rust
+ makedepends = cargo
+ makedepends = git
+ depends = neovim
+ depends = gtk3
+ depends = vte3
+ provides = neovim-gtk
+ conflicts = neovim-gtk
+ source = git+https://github.com/daa84/neovim-gtk.git
+ md5sums = SKIP
+
+pkgname = neovim-gtk-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d7be286a935
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Wesley Moore <wes@wezm.net>
+_pkgname=neovim-gtk
+pkgname=neovim-gtk-git
+pkgver=319
+pkgrel=1
+pkgdesc='A simple, fast and user-friendly alternative to find.'
+arch=('i686' 'x86_64')
+url="https://github.com/daa84/neovim-gtk"
+license=('GPL3')
+depends=('neovim' 'gtk3' 'vte3')
+conflicts=('neovim-gtk')
+provides=('neovim-gtk')
+makedepends=('rust' 'cargo' 'git')
+source=("git+https://github.com/daa84/neovim-gtk.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git rev-list --count HEAD
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+ cargo build --release
+}
+
+package() {
+ install -Dm755 "$srcdir/$_pkgname/target/release/nvim-gtk" "$pkgdir/usr/bin/nvim-gtk"
+ install -D -m644 "$srcdir/$_pkgname/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 "$srcdir/$_pkgname/desktop/org.daa.NeovimGtk.desktop" "${pkgdir}"/usr/share/applications/org.daa.NeovimGtk.desktop
+ install -D -m644 "$srcdir/$_pkgname/desktop/org.daa.NeovimGtk.png" "${pkgdir}"/usr/share/pixmaps/org.daa.NeovimGtk.png
+}