aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkfontscale
diff options
context:
space:
mode:
Diffstat (limited to 'main/mkfontscale')
-rw-r--r--main/mkfontscale/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
index 553fb772a2..12da188635 100644
--- a/main/mkfontscale/APKBUILD
+++ b/main/mkfontscale/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="96ca346f185c0ab48e42bf5bb0375da5 mkfontscale-1.0.7.tar.bz2"