# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-cursor-misc
pkgver=1.0.4
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-cursor-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="
22bd86a81cdfb1e17f885dc3961071c08920171a6f0736ae52d95c8e576b1debc7570aa3b7e1007f474b50435fba411f0eb1847894e8b52f6e6268d91cf9f2db  font-cursor-misc-1.0.4.tar.xz
"
