summaryrefslogblamecommitdiff
path: root/user/font-sony-misc/APKBUILD
blob: cb7690e891bfc55be858577a4ff61a9a8bcf155f (plain) (tree)






































                                                                                                                                                                           
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-sony-misc
pkgver=1.0.3
pkgrel=2
pkgdesc="Sony fonts"
url="https://www.X.Org/"
arch="noarch"
options="!check"  # Cannot test a font.
license="MIT"
depends="encodings font-alias fontconfig mkfontdir mkfontscale"
makedepends="bdftopcf font-util-dev"
source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	update_config_sub
	default_prepare
}

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

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

sha512sums="c397b4e5081b2946799d701b8c48fca9fd2d55b8fa1dd96d2b29c5cd9996bb7356ae12671bf3bd964e6313bdc154020ed6377534e59ce53067e955e4b37aee1d  font-sony-misc-1.0.3.tar.bz2"