blob: 35517d44865c2fc43e0757ff1943aaf741b6544b (
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: Lothar_m <lothar_m at riseup . net>
pkgname=vim-calendar-git
_pkg_dir=calendar-vim
pkgver=im7ish.r52.g867d0cd
pkgrel=1
epoch=1
pkgdesc='Vim-Calendar creates a calendar window you can use within vim. It is useful in its own right as a calendar-inside-vim. It also provides hooks to customise its behaviour, making it a good basis for writing new plugins which require calendar functionality.'
arch=('any')
url='https://github.com/mattn/calendar-vim'
license=('PublicDomain')
depends=('vim')
makedepends=('git')
conflicts=('vim-calendar')
provides=('vim-calendar')
groups=('vim-plugins')
source=("git+https://github.com/mattn/calendar-vim.git")
sha256sums=('SKIP')
pkgver() {
cd ${_pkg_dir}
#git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd ${_pkg_dir}
#cd ${pkgname%-git}
_installpath="${pkgdir}/usr/share/vim/vimfiles"
install -d "${_installpath}/"{autoload,doc,plugin}
install -m644 autoload/calendar.vim "${_installpath}/autoload/"
install -m644 doc/calendar.txt "${_installpath}/doc/"
install -m644 plugin/calendar.vim "${_installpath}/plugin/"
#install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|