summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be059e4ca0cc42639879d49a97bc65f863a24954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=vim-surround
pkgver=2.2
pkgrel=4
pkgdesc='Provides mappings to easily delete, change, and add paired surroundings'
url='https://github.com/tpope/vim-surround'
arch=('any')
license=(Vim)
makedepends=(vim)
depends=('vim-plugin-runtime')
groups=('vim-plugins')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/tpope/vim-surround/archive/refs/tags/v${pkgver}.tar.gz
        LICENCE)
sha512sums=('ef0bac868ca30cc5606f12898f131debaff3b42ad178ab83b363e46210edb8e084658505f28ba46e24012dfc1843e22603bb2c4f40b5010db13aacf07b0bd970'
            '163c27fa3a8af7592062685d6db6f6d32e839f99b78cad54479ada3d1fbd70cf2e93e4bc65a2c383742e111eecb7061ed7fd858f1095a0edf97de8b4c8b81c0a')

package() {
  cd ${pkgname}-${pkgver}
  local installpath="${pkgdir}/usr/share/vim/vimfiles"
  install -Dm 644 doc/* -t "${installpath}/doc"
  install -Dm 644 plugin/* -t "${installpath}/plugin"
  install -Dm 644 ../LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}"
  install -Dm 644 README.markdown -t "${pkgdir}/usr/share/doc/${pkgname}"
}