diff options
author | lmartinez-mirror | 2021-04-10 17:41:34 -0500 |
---|---|---|
committer | lmartinez-mirror | 2021-04-10 17:41:34 -0500 |
commit | fb46d607ae050222be73b2a1d2ff69fd31cb17aa (patch) | |
tree | a77dd730736a5959d8d6b82ae1a288f3504a7b6c /PKGBUILD | |
download | aur-fb46d607ae050222be73b2a1d2ff69fd31cb17aa.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6d2f0bbfeb10 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: lmartinez-mirror +pkgname=vim-suda +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Vim plugin for writing out files with sudo" +arch=('any') +url="https://github.com/lambdalisue/suda.vim" +license=('MIT') +groups=('vim-plugins') +depends=('vim-plugin-runtime' 'sudo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('5954be80cb6d8240341a8a9303fc2f761d7b31c36ed63517d5abae4b1c703b4d') + +package() { + cd "suda.vim-$pkgver" + find autoload doc plugin \ + -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |