aboutsummaryrefslogtreecommitdiffstats
path: root/main/encodings/APKBUILD
blob: 4746f5a791ceb0a4c60ae0e4a5ba5d739500dd8d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=encodings
pkgver=1.0.5
pkgrel=0
pkgdesc="X.org font encoding files"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
options="!check"  # No test suite.
makedepends="mkfontscale util-macros"
source="https://www.x.org/releases/individual/font/encodings-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-encodingsdir=/usr/share/fonts/encodings
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="920e49f0b3545f181a1574ca3280ac9adef1e68fe27566c195dd7013f728d355c0d759132789357fcf8fa7391fcbe1e17edf2bd85aa5611df5a4d99740011008  encodings-1.0.5.tar.bz2"