summaryrefslogtreecommitdiff
path: root/user/font-sony-misc/APKBUILD
blob: ff55dc5b4d8b4d3f0526499c420a92a1af42b0f6 (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.4
pkgrel=0
pkgdesc="X11 fonts from Sony"
url="https://www.X.Org/"
arch="noarch"
license="MIT"
depends="encodings font-alias fontconfig mkfontscale"
makedepends="bdftopcf font-util-dev util-macros"
subpackages=""
source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.xz"

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="f361fca66db2ec80b1467fb6bff57bd2cfc6722473bd7ad119026a97552eef07ff77552c01eb8f98f3299d7fd40c8c2cb3e0d0b01adca2f81c2c2f75581dc113  font-sony-misc-1.0.4.tar.xz"