diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-30 06:50:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-30 06:50:11 +0000 |
commit | 3cbacc3c5e414a58ae215445519eb46db4921e08 (patch) | |
tree | fdda868b3483e251d6dd9c91f429ae094f093b45 /main/encodings/APKBUILD | |
parent | d48c529a8295229678d40751772417ef08a681f4 (diff) | |
download | aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.bz2 aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.xz |
main/[various]: update config.sub
Diffstat (limited to 'main/encodings/APKBUILD')
-rw-r--r-- | main/encodings/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/encodings/APKBUILD b/main/encodings/APKBUILD index 3ad7a361f..c031a5c66 100644 --- a/main/encodings/APKBUILD +++ b/main/encodings/APKBUILD @@ -11,8 +11,15 @@ makedepends="pkgconfig mkfontscale" install= source="http://xorg.freedesktop.org/releases/individual/font/encodings-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/encodings-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,7 +30,7 @@ build() { } package() { - cd "$srcdir"/encodings-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="29637480e7ce12546668631067c19ced encodings-1.0.3.tar.bz2" |