diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..306c2603f6ab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Ankit R Gadiya <arch@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" +} |