blob: 8d37868a3c591fe6eb1e093926e5a27c7d91134e (
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
|
# Maintainer: dringsim <dringsim@qq.com>
_pkgname=vim-repl
pkgname=vim-repl-sillybun-git
pkgver=r401.8e0fa9b
pkgrel=1
pkgdesc="Best REPL environment for Vim"
arch=('any')
depends=('vim' 'perl' 'python')
makedepends=('git')
url="https://github.com/fidian/hexmode"
license=('GPL-2.0-or-later')
source=(${_pkgname}::git+https://github.com/sillybun/vim-repl)
sha256sums=('SKIP')
pkgver() {
cd ${_pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${_pkgname}
install -dm 755 "$pkgdir/usr/share/vim/vimfiles"
for _dir in autoload ftplugin plugin pythonx; do
cp -dpr --no-preserve=ownership $_dir "$pkgdir/usr/share/vim/vimfiles/$_dir"
done
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|