diff --git a/vimscripts-autoclose/.SRCINFO b/vimscripts-autoclose/.SRCINFO new file mode 100644 index 0000000..fe8253a --- /dev/null +++ b/vimscripts-autoclose/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = vimscripts-autoclose + pkgdesc = plugin that automatically closes quote, parentheses, brackets, braces, etc + pkgver = 1.2 + pkgrel = 1 + url = https://github.com/vim-scripts/AutoClose + arch = any + license = unknown + depends = vim + depends = neovim + provides = vimscripts-autoclose + conflicts = vim-autoclose + replaces = vim-autoclose + source = https://github.com/vim-scripts/AutoClose/archive/1.2.tar.gz + md5sums = 8eb8630367d6978f3e2696df27eff4eb + +pkgname = vimscripts-autoclose + diff --git a/vimscripts-autoclose/PKGBUILD b/vimscripts-autoclose/PKGBUILD new file mode 100644 index 0000000..813a19b --- /dev/null +++ b/vimscripts-autoclose/PKGBUILD @@ -0,0 +1,51 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Trent Palmer trenttdually at gmail + +pkgname='vimscripts-autoclose' + +# hack $SRCDEST because the source tarball download name is too generic +SRCDEST="/tmp/makepkg/${pkgname}" +[[ -d "${SRCDEST}" ]] || mkdir -p "${SRCDEST}" + +_srcpkgname='AutoClose' +pkgver=1.2 +pkgrel=1 +epoch= +pkgdesc="plugin that automatically closes quote, parentheses, brackets, braces, etc" +arch=('any') +url="https://github.com/vim-scripts/AutoClose" +license=('unknown') +groups=() +depends=('vim' 'neovim') +makedepends=() +checkdepends=() +optdepends=() +provides=('vimscripts-autoclose') +conflicts=('vim-autoclose') +replaces=('vim-autoclose') +backup=() +options=() +install= +changelog= +source=("https://github.com/vim-scripts/AutoClose/archive/${pkgver}.tar.gz") +noextract=() +md5sums=('8eb8630367d6978f3e2696df27eff4eb') +validpgpkeys=() + +package() { + mkdir -p "$pkgdir/usr/share/nvim/runtime" + cp -r "${srcdir}/${_srcpkgname}-${pkgver}/plugin" \ + "$pkgdir/usr/share/nvim/runtime" + + mkdir -p "$pkgdir/usr/share/vim/vimfiles" + cp -r "${srcdir}/${_srcpkgname}-${pkgver}/plugin" \ + "$pkgdir/usr/share/vim/vimfiles" + + mkdir -p "$pkgdir/usr/share/doc/${pkgname}" + cp "${srcdir}/${_srcpkgname}-${pkgver}/README" \ + "$pkgdir/usr/share/doc/${pkgname}" +}