APKBUILD 1.25 KB
Newer Older
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-bh-lucidatypewriter-75dpi
3 4
pkgver=1.0.3
pkgrel=0
5 6
pkgdesc="X.Org Bigelow & Holmes Lucida bitmap fonts"
url="http://xorg.freedesktop.org/"
7
arch="noarch"
8 9
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
10
makedepends="font-util-dev font-util bdftopcf"
11
install=
12
source="https://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
13

14 15 16 17 18
prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	update_config_sub || return 1
}

19
build() {
20
	cd "$srcdir"/$pkgname-$pkgver
21 22 23 24
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
25
		--with-mapfiles=/usr/share/fonts/util \
26 27
		--with-fontdir=/usr/share/fonts/75dpi \
		|| return 1
28
	make || return 1
29 30 31 32
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
33 34 35 36 37
	make -j1 DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install || return 1
38 39
}

40 41 42
md5sums="f6d65758ac9eb576ae49ab24c5e9019a  font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2"
sha256sums="4ac16afbe205480cc5572e2977ea63488c543d05be0ea8e5a94c845a6eebcb31  font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2"
sha512sums="2bba19c10df8e95f95d59d5fc7c15380c91a5140b0fa490497dbdf78a5574adae06a5566941c8c61e4a9850712fc9ca16974173aeee771f41976f472f0a2de13  font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2"