[aur-general] PKGBUILD(s) Review

Ankit R Gadiya arch at argp.in
Thu Feb 22 14:15:48 UTC 2018


Hi everyone,

I added two new PKGBUILD(s) today in the AUR, both are plugins for vim.
Any advice, suggestions or feedback will be greatly appreciated.
And if anybody would like the *-git versions of these I will be more
then happy to add them as well.

1. ranger-vim: https://aur.archlinux.org/packages/ranger-vim/
2. tcomment-vim: https://aur.archlinux.org/packages/tcomment-vim/

Ranger-vim
# Maintainer: Ankit R Gadiya <arch at argp.in>

pkgname=ranger-vim
pkgver=2.0
pkgrel=1
pkgdesc="Ranger integration for vim"
license=('MIT')
arch=('any')
url="https://github.com/francoiscabrol/ranger.vim"
depends=('vim' 'ranger')
groups=('vim-plugins')
source=("https://github.com/francoiscabrol/${pkgname/-/.}/archive/${pkgver}.tar.gz")
md5sums=('59f24462eb5c7561756a646585cd9e4c')

package() {
    install -Dm755 "${srcdir}/${pkgname/-/.}-${pkgver}/plugin/ranger.vim" \
		"${pkgdir}/usr/share/vim/vimfiles/plugin/ranger.vim"
}

tcomment-vim
# Maintainer: Ankit R Gadiya <arch at argp.in>

pkgname=tcomment-vim
pkgver=3.08.1
pkgrel=1
pkgdesc="An extensible & universal comment vim-plugin that also
handles embedded filetypes"
license=('GPL3')
arch=('any')
url="https://github.com/tomtom/tcomment_vim"
depends=('vim')
groups=('vim-plugins')
source=("https://github.com/tomtom/${pkgname/-/_}/archive/${pkgver}.tar.gz")
md5sums=('6ea8f4ce78411efba444a0218e111219')

package() {

	install -d "${pkgdir}/usr/share/vim/vimfiles/"{doc,plugin,autoload}

	install -Dm755 "${srcdir}/${pkgname/-/_}-${pkgver}/plugin/tcomment.vim" \
		"${pkgdir}/usr/share/vim/vimfiles/plugin/tcomment.vim"
	install -Dm755 "${srcdir}/${pkgname/-/_}-${pkgver}/doc/tcomment.txt" \
		"${pkgdir}/usr/share/vim/vimfiles/doc/tcomment.txt"
	install -Dm755 "${srcdir}/${pkgname/-/_}-${pkgver}/autoload/tcomment.vim" \
		"${pkgdir}/usr/share/vim/vimfiles/autoload/tcomment.vim"
}

-- 
Ankit R Gadiya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20180222/a579c294/attachment.asc>


More information about the aur-general mailing list