blob: 9628cb82cff62892117b76bbb36771d5cdb837d9 (
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
|
# Maintainer: Luis Martinez <luis dot martinez at tuta dot io>
# Contributor: Andrea Feletto <andrea@andreafeletto.com>
pkgname=vim-goyo-git
pkgver=1.6.0.r37.ga865dec
pkgrel=4
pkgdesc='Distraction-free writing in Vim'
arch=('any')
url='https://github.com/junegunn/goyo.vim'
license=('MIT')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
optdepends=('vim-limelight')
makedepends=('git')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=("$pkgname::git+$url"
"LICENSE")
sha256sums=('SKIP'
'766b8d101c8d237f236e8727f0ee9c04efffb12316e084cf6340bb11ce112ccf')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/-/.r/;s/-/./'
}
package() {
cd "$pkgname"
find autoload doc plugin \
-type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
install -Dm 644 "$srcdir/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|