diff options
author | Luis Martinez | 2021-10-14 18:59:37 -0500 |
---|---|---|
committer | Luis Martinez | 2021-10-14 18:59:37 -0500 |
commit | 62b531781b157e597e6b6c03f9ac2e3c47f414a0 (patch) | |
tree | c22d42fcfdbf9fb869043ae33b8c98d5654293f5 /PKGBUILD | |
parent | 1b1a0980c63aa9bec42726cdbd113d67e55e7235 (diff) | |
download | aur-62b531781b157e597e6b6c03f9ac2e3c47f414a0.tar.gz |
another package cleanup
* added vim-plugin-runtime as dependency instead of just vim for neovim
compatibility
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -1,25 +1,24 @@ -# Maintainer: revel <revelΘmuub·net> +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> +# Contributor: revel <revelΘmuub·net> pkgname=vim-endwise pkgver=1.2 -pkgrel=3 -pkgdesc='A simple plugin that helps to end certain structures automatically.' +pkgrel=4 +pkgdesc='Vim plugin for ending structures automatically in Ruby' arch=('any') -#url='http://www.vim.org/scripts/script.php?script_id=2386' -url='https://github.com/tpope/${pkgname}' +url='https://github.com/tpope/vim-endwise' license=('custom:vim') -depends=('vim') groups=('vim-plugins') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tpope/${pkgname}/archive/v${pkgver}.tar.gz" +depends=('vim-plugin-runtime') +makedepends=('git') +source=("$pkgname::git+$url#tag=v$pkgver?signed" 'license.txt') -sha256sums=('365f0624fbe69beaedbdca5c6fae4e428e66b217bb59d3bba60d5aef0ada1b7b' +sha256sums=('SKIP' '5f96d0bf57942212b6117ac4e6eb9b6ad704c1758511333dd5785cedf3281b8d') +validpgpkeys=('881804A5DA541152FA12C105E09E474A404A3A45') package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - local installpath="${pkgdir}/usr/share/vim/vimfiles" - - install -D -m644 "plugin/endwise.vim" "${installpath}/plugin/endwise.vim" - install -D -m644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm 644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "$pkgname" + install -Dm 644 plugin/endwise.vim -t "$pkgdir/usr/share/vim/vimfiles/plugin/" } |