aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mdocml/APKBUILD
blob: 37b5e579dbd4cf22d4066331012209b076da2e00 (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
# Contributor: 
# Maintainer: 
pkgname=mdocml
pkgver=1.10.5
pkgrel=0
pkgdesc="Roff implementation"
url="http://mdocml.bsd.lv/"
arch="x86 x86_64"
license="BSD"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://mdocml.bsd.lv/snapshots/mdocml-$pkgver.tar.gz"

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

prepare() {
	cd "$_builddir"
	sed -i -e 's:/usr/local:/usr:' Makefile || return 1
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" MANDIR=/usr/share/man \
		EXAMPLEDIR=/usr/share/doc/mdocml/examples install
}

md5sums="c563967a5d44ab7c423ea0b3ebb09ae5  mdocml-1.10.5.tar.gz"