diff options
author | Jörg Thalheim | 2015-06-11 15:49:43 +0200 |
---|---|---|
committer | Jörg Thalheim | 2015-06-11 15:49:43 +0200 |
commit | ddf002c49753f230916a788f8e4a54107daa40a1 (patch) | |
tree | a187cd9cec1b44553bca4f28f26dbfa401e079b7 /PKGBUILD | |
download | aur-vim_bridge-git.tar.gz |
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0b08e5e265ed --- /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 +} |