From 9b03daa4792e78d1c61d66873bbcfd91b3ebeadc Mon Sep 17 00:00:00 2001 From: Daniel Sabogal Date: Tue, 1 Aug 2017 16:18:40 -0400 Subject: main/mdocml: modernize abuild and explicitly set UTF8_LOCALE The configure script depends on the locale(1) utility to select a UTF-8 encoding to test. This utility is not available. --- main/mdocml/APKBUILD | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'main/mdocml/APKBUILD') diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD index 9e5537a6dc..facc8a0eaf 100644 --- a/main/mdocml/APKBUILD +++ b/main/mdocml/APKBUILD @@ -1,13 +1,14 @@ # Maintainer: Natanael Copa pkgname=mdocml pkgver=1.14.1 -pkgrel=0 +pkgrel=1 pkgdesc="mdoc/man compiler" url="http://mdocml.bsd.lv/" arch="all" license="BSD" depends="" makedepends="zlib-dev" +checkdepends="perl" install="$pkgname.post-deinstall" triggers="$pkgname-apropos.trigger=/usr/share/man/*" subpackages="$pkgname-doc $pkgname-dev man::noarch $pkgname-apropos $pkgname-soelim" @@ -18,32 +19,39 @@ source="http://mdocml.bsd.lv/snapshots/$pkgname-$pkgver.tar.gz man.conf " -builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" prepare() { - default_prepare || return 1 + default_prepare + cd "$builddir" cat >configure.local<