mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-22 03:11:30 -08:00
add vim-closetag-git
This commit is contained in:
parent
0612ddd2cd
commit
ce2ee823c1
17
vim-closetag-git/.SRCINFO
Normal file
17
vim-closetag-git/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
pkgbase = vim-closetag-git
|
||||||
|
pkgdesc = Auto close (X)HTML tags
|
||||||
|
pkgver = r44.8c71d52
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/alvan/vim-closetag
|
||||||
|
arch = any
|
||||||
|
license = unknown
|
||||||
|
makedepends = git
|
||||||
|
optdepends = vim
|
||||||
|
optdepends = neovim
|
||||||
|
provides = vim-closetag
|
||||||
|
conflicts = vim-closetag
|
||||||
|
source = git+https://github.com/alvan/vim-closetag
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = vim-closetag-git
|
||||||
|
|
53
vim-closetag-git/PKGBUILD
Normal file
53
vim-closetag-git/PKGBUILD
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# Maintainer: Trent Palmer trenttdually at gmail
|
||||||
|
|
||||||
|
###########################################################################################################
|
||||||
|
# Build Options
|
||||||
|
###########################################################################################################
|
||||||
|
_vim="y"
|
||||||
|
|
||||||
|
_neovim="n"
|
||||||
|
###########################################################################################################
|
||||||
|
|
||||||
|
_name='vim-closetag'
|
||||||
|
pkgname="${_name}-git"
|
||||||
|
pkgver=r44.8c71d52
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Auto close (X)HTML tags"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/alvan/vim-closetag"
|
||||||
|
license=('unknown')
|
||||||
|
groups=()
|
||||||
|
depends=()
|
||||||
|
optdepends=('vim' 'neovim')
|
||||||
|
makedepends=('git')
|
||||||
|
provides=('vim-closetag')
|
||||||
|
conflicts=('vim-closetag')
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
source=('git+https://github.com/alvan/vim-closetag')
|
||||||
|
|
||||||
|
noextract=()
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${_name}"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
if [ "$_neovim" = "y" ]; then
|
||||||
|
mkdir -p "$pkgdir/usr/share/nvim/runtime"
|
||||||
|
cp -r "${srcdir}/${_name}/plugin" \
|
||||||
|
"$pkgdir/usr/share/nvim/runtime"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$_vim" = "y" ]; then
|
||||||
|
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
|
||||||
|
cp -r "${srcdir}/${_name}/plugin" \
|
||||||
|
"$pkgdir/usr/share/vim/vimfiles"
|
||||||
|
fi
|
||||||
|
|
||||||
|
install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md
|
||||||
|
# install -D -m644 "${srcdir}/${_name}/LICENSE" $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user