summaryrefslogtreecommitdiff
path: root/user/font-bitstream-speedo/APKBUILD
blob: a9e76bed9a9c9adcd6764d99e4663c36f3532466 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-bitstream-speedo
pkgver=1.0.2
pkgrel=0
pkgdesc="Speedo X11 fonts from Bitstream"
url="https://www.X.Org/"
arch="noarch"
license="MIT"
depends="encodings font-alias fontconfig mkfontscale"
makedepends="util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-bitstream-speedo-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" -name fonts.dir -exec rm {} +
	find "$pkgdir" -name fonts.scale -exec rm {} +
}

sha512sums="78816cc0dd0c9ba3f1de6ba39754bdf19253fea3583ef1bf459ead4b74f2587bc38bbc0bfdc5066a8055c1c45091e44987f6d15e98b6cf4ee18f60c2431349fb  font-bitstream-speedo-1.0.2.tar.bz2"