blob: 7dab95390a217d4047c28af63a95a2e1ac6de54a (
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: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=neovim-orgmode-git
_pkgname="${pkgname%-git}"
pkgver=0.2.1.r278.gdadf563
pkgrel=1
pkgdesc="Orgmode clone for Neovim"
arch=('any')
url="https://github.com/kristijanhusak/orgmode.nvim"
license=('MIT')
groups=('neovim-plugins')
depends=('neovim' 'neovim-nvim-treesitter')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
install=orgmode.install
source=("$pkgname::git+$url")
md5sums=('SKIP')
pkgver() {
git -C "$pkgname" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
package() {
cd "$pkgname"
find doc ftplugin indent lua syntax -type f -exec install -Dvm644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
install -Dvm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dvm644 README.md DOCS.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|