summaryrefslogtreecommitdiff
path: root/main/font-bh-ttf/APKBUILD
blob: c18613dcca80a974f4b429462178b995506fda82 (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
31
32
33
34
35
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-bh-ttf
pkgver=1.0.3
pkgrel=3
pkgdesc="X.org bh TTF fonts"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends="encodings font-alias mkfontscale fontconfig"
makedepends="font-util-dev bdftopcf fontconfig-dev"
source="https://www.x.org/releases/individual/font/font-bh-ttf-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/bh
	make
}

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

sha512sums="
36b5b6bbc2894cd90a372e8131281a462b42d503be3e9af8565edbcd954b336690aa86a0b6fb162d865ba71b65669c5b911658c5b820effcea39d086d485be25  font-bh-ttf-1.0.3.tar.bz2
"