diff options
Diffstat (limited to 'testing/mdocml')
-rw-r--r-- | testing/mdocml/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/mdocml/APKBUILD b/testing/mdocml/APKBUILD new file mode 100644 index 0000000000..03ede31f40 --- /dev/null +++ b/testing/mdocml/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: +# Maintainer: +pkgname=mdocml +pkgver=1.10.4 +pkgrel=0 +pkgdesc="Roff implementation" +url="http://mdocml.bsd.lv/" +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="f23e40cd64f4312b0c4e2d72e7999298 mdocml-1.10.4.tar.gz" |