summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 486cefdc253fcc76176846c543f1c1064490f922 (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
30
31
32
33
34
35
# Maintainer :  Kr1ss  $(tr +- .@ <<<'<kr1ss+x-yandex+com>')


pkgname=vim-smoothie-git

pkgver() { git -C "${pkgname%-git}" log -n1 --format=%cs.g%h | tr - .; }
pkgver=2019.12.02.gd3de4fb
pkgrel=1

pkgdesc='Smoth scrolling for Vim done right'
groups=('vim-plugins')
arch=('any')
url="https://github.com/psliwka/${pkgname%-git}"
license=('MIT')

provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")

makedepends=('git')
depends=('vim')

source=("git+$url.git")
sha256sums=('SKIP')


package() {
  cd "${pkgname%-git}"
  install -Dm644 plugin/smoothie.vim -t"$pkgdir/usr/share/vim/vimfiles/plugin/"
  install -Dm644 autoload/smoothie.vim -t"$pkgdir/usr/share/vim/vimfiles/autoload/"
  install -Dm644 README.md demo.gif -t"$pkgdir/usr/share/doc/${pkgname%-git}/"
  install -Dm644 LICENSE -t"$pkgdir/usr/share/licenses/${pkgname%-git}/"
}


# vim: ts=2 sw=2 et ft=PKGBUILD: