diff options
Diffstat (limited to 'main/font-misc-ethiopic/APKBUILD')
-rw-r--r-- | main/font-misc-ethiopic/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/font-misc-ethiopic/APKBUILD b/main/font-misc-ethiopic/APKBUILD index cf2a54984d..042b930c68 100644 --- a/main/font-misc-ethiopic/APKBUILD +++ b/main/font-misc-ethiopic/APKBUILD @@ -10,13 +10,22 @@ 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/ethiopic make || return 1 - make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1 +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" \ + FCCACHE=: \ + MKFONTDIR=: \ + MKFONTSCALE=: \ + install || return 1 } md5sums="0b271fc617087d77560bdca20c0cdbb0 font-misc-ethiopic-1.0.0.tar.bz2" |