blob: c29c0cf5c4f44f06df770646c4eec3fbfa2d406b (
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: Amin Vakil <info at aminvakil dot com>
_pkgname=vim-markdown
pkgname=vim-markdown-git
pkgver=r504.8e5d86f
pkgrel=3
pkgdesc="Markdown Vim Mode"
arch=('any')
url="https://github.com/plasticboy/vim-markdown"
license=('MIT')
depends=('vim-plugin-runtime' 'vim-tabular')
makedepends=('git')
conflicts=('vim-markdown')
provides=('vim-markdown')
source=("git+https://github.com/plasticboy/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_pkgname}"
_installpath="$pkgdir/usr/share/vim/vimfiles"
install -d "${_installpath}"
cp -r -t "${_installpath}" after doc ftdetect ftplugin indent registry syntax test
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}"
}
|