APKBUILD 1.04 KB
Newer Older
A. Wilcox's avatar
A. Wilcox committed
1
2
3
4
5
6
7
8
9
# 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"
10
11
depends="encodings font-alias fontconfig mkfontdir mkfontscale"
makedepends="util-macros"
A. Wilcox's avatar
A. Wilcox committed
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
subpackages=""
source="https://www.x.org/releases/individual/font/font-bitstream-speedo-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

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

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
41
42
	find "$pkgdir" -name fonts.dir -exec rm {} +
	find "$pkgdir" -name fonts.scale -exec rm {} +
A. Wilcox's avatar
A. Wilcox committed
43
44
45
}

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