summaryrefslogtreecommitdiff
path: root/main/font-adobe-75dpi/APKBUILD
blob: ed7c2973c2847cb37c5031d01aed0e6796034b1c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-adobe-75dpi
pkgver=1.0.4
pkgrel=2
pkgdesc="X.org adobe 75dpi font"
url="https://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
options="!check"
depends="encodings font-alias mkfontscale fontconfig"
makedepends="font-util-dev bdftopcf"
source="https://www.x.org/releases/individual/font/font-adobe-75dpi-$pkgver.tar.xz"
subpackages="$pkgname-doc"

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

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

	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

sha512sums="
4e63c268525f21c03525870129c8d42cbd17a03d86d9c88bebdccb5094a1093acef1d2b6d4dde221559cb19f047b86baf58fa8ad65d28d4cb6c3064ec164836a  font-adobe-75dpi-1.0.4.tar.xz
"