aboutsummaryrefslogblamecommitdiffstats
path: root/main/asciidoc/APKBUILD
blob: cd09c493ccdaf763cf42577ce1a25f4f60466634 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                        
          
             
                                          






























                                                                                               
                                                                
                                            
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asciidoc
pkgver=8.6.3
pkgrel=0
pkgdesc="Text based documentation"
url="http://www.methods.co.nz/asciidoc/"
arch="all"
license="GPL"
depends="python libxml2-utils docbook-xsl"
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
}

md5sums="1ef39786ee1b4c8a788584e73db2c55a  asciidoc-8.6.3.tar.gz
7e98fd7aa3fb61af56814e214bd1ab8a  vim.patch"