aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-26 08:46:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-26 08:46:52 +0000
commit2adf2e788a1c05385f35c7fe207dd404967571c5 (patch)
tree70479963791a22ae82ead5421f21f752fea941fc /main
parentb4101ca5604e3439d85d41769482ce1a3195643a (diff)
downloadaports-2adf2e788a1c05385f35c7fe207dd404967571c5.tar.bz2
aports-2adf2e788a1c05385f35c7fe207dd404967571c5.tar.xz
main/font-misc-*: build fix
Diffstat (limited to 'main')
-rw-r--r--main/font-misc-ethiopic/APKBUILD13
-rw-r--r--main/font-misc-meltho/APKBUILD13
-rw-r--r--main/font-misc-misc/APKBUILD14
3 files changed, 34 insertions, 6 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"
diff --git a/main/font-misc-meltho/APKBUILD b/main/font-misc-meltho/APKBUILD
index 1ba95b9bb9..758c2465ab 100644
--- a/main/font-misc-meltho/APKBUILD
+++ b/main/font-misc-meltho/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/meltho
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="ccb212a7badf7aefdc9f9a92af428d32 font-misc-meltho-1.0.0.tar.bz2"
diff --git a/main/font-misc-misc/APKBUILD b/main/font-misc-misc/APKBUILD
index 63038836c4..2dd4121c68 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"