aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-08 18:51:14 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:54:40 +0000
commita76d1c29bd8f6fdaa201ff124dffbf5dcf23ffd2 (patch)
treefb239255a602a6170b32b3069ef8a8dba3993591
parent0c6d9f03dda8f5ecebe000b33dd0599c8c4e0ef8 (diff)
downloadaports-a76d1c29bd8f6fdaa201ff124dffbf5dcf23ffd2.tar.gz
aports-a76d1c29bd8f6fdaa201ff124dffbf5dcf23ffd2.tar.bz2
aports-a76d1c29bd8f6fdaa201ff124dffbf5dcf23ffd2.tar.xz
main/font-cursor-misc: modernise, deps, noarch, no test, no mapfiles
-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"