blob: 4e709c12ce1a74cb08c26aef032633edaaebec26 (
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
36
37
38
39
40
41
42
43
44
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asciidoc
pkgver=8.6.9
pkgrel=3
pkgdesc="Text based documentation"
url="http://asciidoc.org/"
arch="noarch"
license="GPL2"
depends="python2 libxml2-utils docbook-xsl"
makedepends="autoconf"
subpackages="$pkgname-doc $pkgname-vim::noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/asciidoc/asciidoc/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
autoconf
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
vim() {
pkgdesc="Vim syntax for $pkgname"
depends=""
install -Dm644 "$builddir"/vim/syntax/$pkgname.vim \
"$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
}
sha512sums="8dc707131fc48e9dbb73c3b7da6fed6fcf239af888891d05c2d89c8c128136b8fc26d19a4342c5ed1d7bd72dc4edb505d7c543ad4696834f2f7c5c27566fc119 asciidoc-8.6.9.tar.gz"
|