diff options
author | yesuu | 2015-07-11 00:17:19 +0800 |
---|---|---|
committer | yesuu | 2015-07-11 00:17:19 +0800 |
commit | 098753874f4604ac2a4b11f2a320d0db97364c2b (patch) | |
tree | 205b25d985f91619564c75973c938cf218ead747 /PKGBUILD | |
download | aur-vim-go-git.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..732269be93d2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: yesuu zhang <yesuu79@qq.com> +# Contributor: exul <exul [at] v-net [dot] ch> + +pkgname=vim-go-git +pkgver=20150710 +pkgrel=1 +pkgdesc='Go development plugin for Vim' +arch=('any') +url='https://github.com/fatih/vim-go' +license=(unknown) +conflicts=('vim-go' 'vim-gocode' 'gocode-git') +depends=('go' 'vim') +makedepends=('git') +source=('git+https://github.com/fatih/vim-go.git') +md5sums=(SKIP) + +package() { + cd "${srcdir}/vim-go/" + install --directory "${pkgdir}/usr/share/vim/vimfiles/" + for dir in autoload/ compiler/ doc/ ftdetect/ ftplugin/ gosnippets/ indent/ plugin/ scripts/ syntax/; do + cp --recursive "${dir}" "${pkgdir}/usr/share/vim/vimfiles/" + done +} |