summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJinyi Xian2019-09-08 21:55:05 +0800
committerJinyi Xian2019-09-08 21:55:05 +0800
commitb023041b3fb611a643e322df577daa2dbed69ed7 (patch)
tree82ae4f2e4d4ecfe5ad2a458b8dc8f1a5da56022c
downloadaur-vim-slime-git.tar.gz
Publish vim-slime
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD26
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d5dee322889
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = vim-slime-git
+ pkgdesc = A vim plugin for REPL.
+ pkgver = r273.dc8ca22
+ pkgrel = 1
+ url = https://github.com/jpalardy/vim-slime
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = vim
+ provides = vim-slime
+ conflicts = vim-slime
+ source = git+https://github.com/jpalardy/vim-slime.git
+ md5sums = SKIP
+
+pkgname = vim-slime-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..97ab49fe898
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+vim-slime
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..287a1406d7d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Jinyi Xian <kylerky@live.com>
+pkgname=vim-slime-git
+pkgver=r273.dc8ca22
+pkgrel=1
+pkgdesc="A vim plugin for REPL."
+arch=('i686' 'x86_64')
+url="https://github.com/jpalardy/vim-slime"
+license=('MIT')
+depends=('vim')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("git+https://github.com/jpalardy/vim-slime.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ install -Dm 644 doc/vim-slime.txt -t "$pkgdir/usr/share/vim/vimfiles/doc/"
+ install -Dm 644 plugin/slime.vim -t "$pkgdir/usr/share/vim/vimfiles/plugin/"
+ cp -a autoload ftplugin "$pkgdir/usr/share/vim/vimfiles/"
+}