summaryrefslogtreecommitdiff
path: root/user/font-jis-misc/APKBUILD
blob: eb524ca43bd967cc0bf2b565c7432669adad0d09 (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
37
38
39
40
41
42
43
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-jis-misc
pkgver=1.0.3
pkgrel=0
pkgdesc="Japanese Industrial Standard X11 fonts"
url="https://www.X.Org/"
arch="noarch"
license="Public-Domain"
depends="encodings font-alias fontconfig"
makedepends="bdftopcf mkfontdir util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-jis-misc-$pkgver.tar.bz2"

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

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="3ce4c96d54440045e84f54f7d790e350c05b0c56a72491941f2cd9ed7e2d1735ff4b41667501cf08d5d81ee19c9de6d43f88a8b59a3c5c55de9fb1696cae208c  font-jis-misc-1.0.3.tar.bz2"