aboutsummaryrefslogtreecommitdiffstats
path: root/main/libfontenc/APKBUILD
blob: 3bbce017ef2bbabeea914c458628e1dc754ab9a8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libfontenc
pkgver=1.1.3
pkgrel=1
pkgdesc="X11 font encoding library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="xproto zlib-dev"
subpackages="$pkgname-dev"
source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--with-encodingsdir=/usr/share/fonts/encodings \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="0920924c3a9ebc1265517bdd2f9fde50  libfontenc-1.1.3.tar.bz2"
sha256sums="70588930e6fc9542ff38e0884778fbc6e6febf21adbab92fd8f524fe60aefd21  libfontenc-1.1.3.tar.bz2"
sha512sums="7346079a6980464f57f5da0e96025bbf4b13fbb7ed976b58d9c54b78525d9d0b4174b4783326a12048971cf5d05221bafe2f41c6b02931743913719cde21740c  libfontenc-1.1.3.tar.bz2"