summaryrefslogtreecommitdiff
path: root/user/font-sony-misc/APKBUILD
blob: d0d93d617a958b974a32b526fd4e40348f983b64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-sony-misc
pkgver=1.0.3
pkgrel=3
pkgdesc="X11 fonts from Sony"
url="https://www.X.Org/"
arch="noarch"
license="MIT"
depends="encodings font-alias fontconfig mkfontdir mkfontscale"
makedepends="bdftopcf font-util-dev util-macros"
subpackages=""
source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make -j1 DESTDIR="$pkgdir" install
	find "$pkgdir" -name fonts.dir -exec rm {} +
}

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