mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-24 19:51:29 -08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: Trent Palmer trenttdually at gmail
|
|
|
|
pkgname='vimscripts-autoclose'
|
|
_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-auto-pairs')
|
|
replaces=('')
|
|
backup=()
|
|
options=()
|
|
install=
|
|
changelog=
|
|
source=("$pkgname-$pkgver.tar.gz::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"
|
|
|
|
install -D -m644 "${srcdir}/${_srcpkgname}-${pkgver}/README" $pkgdir/usr/share/doc/$pkgname/README
|
|
}
|