APKBUILD 891 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asciidoc
3 4
pkgver=8.6.3
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="Text based documentation"
url="http://www.methods.co.nz/asciidoc/"
7
arch="all"
Natanael Copa's avatar
Natanael Copa committed
8
license="GPL"
9
depends="python libxml2-utils docbook-xsl"
Natanael Copa's avatar
Natanael Copa committed
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
makedepends=
install=
subpackages="$pkgname-doc"
source="http://sourceforge.net/projects/asciidoc/files/asciidoc/$pkgver/asciidoc-$pkgver.tar.gz
	vim.patch"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

41
md5sums="1ef39786ee1b4c8a788584e73db2c55a  asciidoc-8.6.3.tar.gz
Natanael Copa's avatar
Natanael Copa committed
42
7e98fd7aa3fb61af56814e214bd1ab8a  vim.patch"