summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlmartinez-mirror2021-04-04 21:04:58 -0500
committerlmartinez-mirror2021-04-04 21:04:58 -0500
commit1497a78befa7743367ff2d895d977b756ae0a5d0 (patch)
treef01da21cf8c8b86958aa9838b8827bcde67c10c8
parenta3f3f688213291c5b2d17ad8159c79771e887006 (diff)
downloadaur-vim-visual-multi.tar.gz
remove unnecessary conflicts
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD21
2 files changed, 11 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e48fffd5a3..cf7412d3321 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = vim-visual-multi
pkgdesc = Multiple cursors plugin for vim/neovim
pkgver = 0.5.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mg979/vim-visual-multi
arch = any
license = MIT
depends = vim
- conflicts = vim-visual-multi-git
- source = https://github.com/mg979/vim-visual-multi/archive/v0.5.8.tar.gz
+ source = vim-visual-multi-0.5.8.tar.gz::https://github.com/mg979/vim-visual-multi/archive/v0.5.8.tar.gz
sha256sums = 6fe2345306c751ab9f84ff5f99ba77a79d0db391d38992904b40f0abc538dbc7
pkgname = vim-visual-multi
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/"
}