aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfont2/APKBUILD
blob: efe2eb46a2f25c2a08899f487b13d1c41f7e6faa (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
40
41
42
43
44
45
46
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfont2
pkgver=2.0.1
pkgrel=0
pkgdesc="X.Org X11 libXfont2 runtime library"
url="http://www.x.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev libfontenc-dev freetype-dev fontsproto zlib-dev
	xproto xtrans
	util-macros autoconf automake libtool"
install=""
subpackages="$pkgname-dev"
source="http://www.x.org/pub/individual/lib/libXfont2-$pkgver.tar.bz2
	libXfont-2.0.1-misc-fixes.patch
	"
builddir="$srcdir/libXfont2-$pkgver"

prepare() {
	default_prepare
	autoreconf -vif
}

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="5e4dcb587b4d25dd41124bb50d71c30b5e29663ce675b0830def82fb6e00b64ba34e1b1ed7fad947fd0da95007aa55d14f587383e4cff08c3e0a0241c8879d16  libXfont2-2.0.1.tar.bz2
ee75a3fbe7ed6b5713e13e48247d3a8f058e07ae0bdce0d8d0b763357be646c5f09ef75a2c38ce95708025593c9acb6486351eca76ee305874ebf942f3801989  libXfont-2.0.1-misc-fixes.patch"