summaryrefslogtreecommitdiffstats
path: root/main/font-misc-misc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/font-misc-misc/APKBUILD')
-rw-r--r--main/font-misc-misc/APKBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/main/font-misc-misc/APKBUILD b/main/font-misc-misc/APKBUILD
index 63038836c..2dd4121c6 100644
--- a/main/font-misc-misc/APKBUILD
+++ b/main/font-misc-misc/APKBUILD
@@ -10,13 +10,23 @@ makedepends="pkgconfig font-util-dev bdftopcf"
install=
source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
--with-fontdir=/usr/share/fonts/misc
make || return 1
- make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 \
+ DESTDIR="$pkgdir" \
+ MKFONTDIR=: \
+ MKFONTSCALE=: \
+ FCCACHE=: \
+ install || return 1
}
md5sums="2a57f6188c41d4bc1b88ca3d08ad011d font-misc-misc-1.0.0.tar.bz2"