aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-util/APKBUILD
blob: a073fecb968659eb048c8259e936a32371421812 (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
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-util
pkgver=1.3.1
pkgrel=0
pkgdesc="X.org font utilities"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends="perl"
depends_dev="font-util"
makedepends="$depends_dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="23756dab809f9ec5011bb27fb2c3c7d6  font-util-1.3.1.tar.bz2"
sha256sums="aa7ebdb0715106dd255082f2310dbaa2cd7e225957c2a77d719720c7cc92b921  font-util-1.3.1.tar.bz2"
sha512sums="9fd6dd4c0a01ede5f0b09ec0f9d316267ca086e2ee9526a43a4e4d6ce3cd67c977293bd3cf440328ca417292fcae1579888b24b7259eaf012230890210d74889  font-util-1.3.1.tar.bz2"