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

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

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