summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim2015-06-11 15:49:43 +0200
committerJörg Thalheim2015-06-11 15:49:43 +0200
commitddf002c49753f230916a788f8e4a54107daa40a1 (patch)
treea187cd9cec1b44553bca4f28f26dbfa401e079b7
downloadaur-vim_bridge-git.tar.gz
initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a05eb3d8928
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = vim_bridge-git
+ pkgdesc = A Python-to-Vim bridge decorator to call Python functions in Vim scripts.
+ pkgver = 20101206
+ pkgrel = 1
+ url = https://github.com/nvie/vim_bridge
+ arch = any
+ license = BSD
+ depends = python2
+ depends = vim
+ source = git+https://github.com/nvie/vim_bridge.git
+ sha1sums = SKIP
+
+pkgname = vim_bridge-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0b08e5e265e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+_pkgname=vim_bridge
+pkgname=vim_bridge-git
+pkgver=20101206
+pkgrel=1
+pkgdesc="A Python-to-Vim bridge decorator to call Python functions in Vim scripts."
+url="https://github.com/nvie/vim_bridge"
+depends=('python2' 'vim')
+license=('BSD')
+arch=('any')
+source=("git+https://github.com/nvie/vim_bridge.git")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git log -1 --format='%cd' --date=short | tr -d -- '-'
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}