diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-08-14 09:20:22 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-14 07:39:57 +0000 |
commit | 3a3daee658a46c7601620733319cc2700353fb61 (patch) | |
tree | 5e026be3ebfa415fd353613037e9618c501deccb /main/asciidoc | |
parent | 1bb28507c8c185a1cfe8ce5e7978e964aae2337f (diff) | |
download | aports-3a3daee658a46c7601620733319cc2700353fb61.tar.bz2 aports-3a3daee658a46c7601620733319cc2700353fb61.tar.xz |
main/asciidoc: add vim subpackage
Diffstat (limited to 'main/asciidoc')
-rw-r--r-- | main/asciidoc/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD index bf6b8091cb..0564df4325 100644 --- a/main/asciidoc/APKBUILD +++ b/main/asciidoc/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=asciidoc pkgver=8.6.9 -pkgrel=0 +pkgrel=1 pkgdesc="Text based documentation" url="http://www.methods.co.nz/asciidoc/" arch="noarch" @@ -9,7 +9,7 @@ license="GPL2" depends="python libxml2-utils docbook-xsl" makedepends="" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-vim" source="http://sourceforge.net/projects/asciidoc/files/asciidoc/$pkgver/asciidoc-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver @@ -40,6 +40,15 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +vim() { + depends="" + pkgdesc="Vim syntax for $pkgname" + arch="noarch" + + install -Dm644 "$_builddir"/vim/syntax/$pkgname.vim \ + "$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim +} + md5sums="c59018f105be8d022714b826b0be130a asciidoc-8.6.9.tar.gz" sha256sums="78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0 asciidoc-8.6.9.tar.gz" sha512sums="1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955 asciidoc-8.6.9.tar.gz" |