aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-util/APKBUILD
blob: 117ea1c552896774eea199acc0862cfc27aa0afb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-util
pkgver=1.3.1
pkgrel=2
pkgdesc="X.org font utilities"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
depends="perl"
depends_dev="font-util"
makedepends="$depends_dev util-macros"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

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

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}
sha512sums="9fd6dd4c0a01ede5f0b09ec0f9d316267ca086e2ee9526a43a4e4d6ce3cd67c977293bd3cf440328ca417292fcae1579888b24b7259eaf012230890210d74889  font-util-1.3.1.tar.bz2"