summaryrefslogtreecommitdiff
path: root/repo/font-sony-misc/font-sony-misc.xibuild
blob: 461ff75c28033933f5b61276f573d0fbded6545d (plain)
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
#!/bin/sh

NAME="font-sony-misc"
DESC="X.org Sony fonts"

MAKEDEPS=" font-util bdftopcf"

PKG_VER=1.0.3
SOURCE="https://www.x.org/releases/individual/font/font-sony-misc-$PKG_VER.tar.bz2"

prepare() {
	update_config_sub
	apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--with-fontdir=/usr/share/fonts/misc
	make
}

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