summaryrefslogtreecommitdiffstats
path: root/main/encodings/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/encodings/APKBUILD')
-rw-r--r--main/encodings/APKBUILD11
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"