aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/font-cursor-misc/APKBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/main/font-cursor-misc/APKBUILD b/main/font-cursor-misc/APKBUILD
index 11192c5818..4c35823a11 100644
--- a/main/font-cursor-misc/APKBUILD
+++ b/main/font-cursor-misc/APKBUILD
@@ -1,40 +1,40 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-cursor-misc
pkgver=1.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="X.org misc font"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
license="custom"
-depends="encodings font-alias mkfontscale mkfontdir fontconfig"
+options="!check" # No test suite.
+depends="encodings font-alias mkfontscale mkfontdir fontconfig util-macros"
makedepends="font-util-dev bdftopcf"
install=
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --with-mapfiles=/usr/share/fonts/util \
- --with-fontdir=/usr/share/fonts/misc \
- || return 1
- make || return 1
+ --with-fontdir=/usr/share/fonts/misc
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" \
MKFONTDIR=: \
MKFONTSCALE=: \
FCCACHE=: \
- install || return 1
+ install
}
md5sums="3e0069d4f178a399cffe56daa95c2b63 font-cursor-misc-1.0.3.tar.bz2"