aboutsummaryrefslogtreecommitdiffstats
path: root/main/libfontenc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libfontenc/APKBUILD')
-rw-r--r--main/libfontenc/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/libfontenc/APKBUILD b/main/libfontenc/APKBUILD
index 6b4c625b76..41a17b51fa 100644
--- a/main/libfontenc/APKBUILD
+++ b/main/libfontenc/APKBUILD
@@ -11,8 +11,15 @@ makedepends="pkgconfig xproto zlib-dev"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/$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 \
@@ -26,7 +33,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}