From 3cbacc3c5e414a58ae215445519eb46db4921e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 30 Sep 2013 06:50:11 +0000 Subject: main/[various]: update config.sub --- main/mkfontdir/APKBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'main/mkfontdir/APKBUILD') diff --git a/main/mkfontdir/APKBUILD b/main/mkfontdir/APKBUILD index bdee1b75b..28d15da7e 100644 --- a/main/mkfontdir/APKBUILD +++ b/main/mkfontdir/APKBUILD @@ -13,8 +13,15 @@ install= triggers="$pkgname.trigger=/usr/share/fonts/*" source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,7 +31,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="9365ac66d19186eaf030482d312fca06 mkfontdir-1.0.5.tar.bz2" -- cgit v1.2.3