summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6d514bea917..76490899d83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,21 @@
-# vim-visual-multi
-
-# Maintainer: Andrea Feletto <andrea@andreafeletto.com>
-
+# Maintainer: lmartinez-mirror
+# Contributor: Andrea Feletto <andrea@andreafeletto.com>
pkgname=vim-visual-multi
pkgver=0.5.8
-pkgrel=1
+pkgrel=2
pkgdesc='Multiple cursors plugin for vim/neovim'
arch=('any')
url='https://github.com/mg979/vim-visual-multi'
license=('MIT')
depends=('vim')
-conflicts=('vim-visual-multi-git')
-source=("https://github.com/mg979/$pkgname/archive/v$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('6fe2345306c751ab9f84ff5f99ba77a79d0db391d38992904b40f0abc538dbc7')
package() {
- vimfiles="$pkgdir/usr/share/vim/vimfiles"
-
- cd "$srcdir/$pkgname-$pkgver"
- install -dv "$vimfiles"
- cp -R autoload doc plugin "$vimfiles/"
+ cd "$pkgname-$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/"
}