diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-08 18:55:34 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:54:40 +0000 |
commit | 1e787a2c8b46158082cf41d4852dc146dcab76f0 (patch) | |
tree | fd27cd0d3abf1493f069d4d2d9865c7728ab7bc7 /main/font-misc-misc | |
parent | baac496bf3ef2806fb0cb211fea26843d9f7da87 (diff) | |
download | aports-1e787a2c8b46158082cf41d4852dc146dcab76f0.tar.bz2 aports-1e787a2c8b46158082cf41d4852dc146dcab76f0.tar.xz |
main/font-misc-misc: modernise, deps, noarch, no test, no mapfiles
Diffstat (limited to 'main/font-misc-misc')
-rw-r--r-- | main/font-misc-misc/APKBUILD | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/main/font-misc-misc/APKBUILD b/main/font-misc-misc/APKBUILD index c4c2f82fc2..e23e94b729 100644 --- a/main/font-misc-misc/APKBUILD +++ b/main/font-misc-misc/APKBUILD @@ -1,21 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=font-misc-misc pkgver=1.1.2 -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" -_builddir="$srcdir"/$pkgname-$pkgver - prepare() { - cd "$_builddir" - update_config_sub || return 1 + cd "$builddir" + update_config_sub + default_prepare } build() { @@ -24,20 +24,18 @@ build() { --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 "$_builddir" + cd "$builddir" make -j1 \ DESTDIR="$pkgdir" \ MKFONTDIR=: \ MKFONTSCALE=: \ FCCACHE=: \ - install || return 1 + install } md5sums="c88eb44b3b903d79fb44b860a213e623 font-misc-misc-1.1.2.tar.bz2" |