aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-adobe-utopia-type1/APKBUILD
blob: d1cd150c9de222d45923d3cdfb308a104f56aae6 (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
39
40
41
42
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-adobe-utopia-type1
pkgver=1.0.4
pkgrel=0
pkgdesc="X.org adobe utopia-type1 fonts"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="font-util-dev bdftopcf"
install=
source="https://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	update_config_sub || return 1
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/utopia-type1 \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install || return 1
}

md5sums="fcf24554c348df3c689b91596d7f9971  font-adobe-utopia-type1-1.0.4.tar.bz2"
sha256sums="979435105f897a70f8993fa02c8362160b0513366c2ab896965416f96dbb8077  font-adobe-utopia-type1-1.0.4.tar.bz2"
sha512sums="53ff2ce7b17824a0eed1be6c3e3386e51983389f5623e732ac898c4e08769c8720f6d6b7c75b6455e050ec5dc390376747ca4cdb9f831a218f9dd5ee5edcd0d6  font-adobe-utopia-type1-1.0.4.tar.bz2"