# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-misc-misc
pkgver=1.1.3
pkgrel=1
pkgdesc="X.org misc font"
url="https://xorg.freedesktop.org/"
arch="noarch"
license="Public Domain"
options="!check"  # No test suite.
depends="encodings font-alias mkfontscale fontconfig util-macros"
makedepends="font-util-dev bdftopcf"
source="https://www.x.org/releases/individual/font/font-misc-misc-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-fontdir=/usr/share/fonts/misc
	make
}

package() {
	make \
		DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install
}

sha512sums="
fac4bfda0e4189d1a9999abc47bdd404f2beeec5301da190d92afc2176cd344789b7223c1b2f4748bd0efe1b9a81fa7f13f7037015d5d800480fa2236f369b48  font-misc-misc-1.1.3.tar.xz
"
