summaryrefslogtreecommitdiff
path: root/user/libfontenc/APKBUILD
blob: 666a58e814e3ac33bcceafff9a5e6a7dca0e3775 (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libfontenc
pkgver=1.1.3
pkgrel=4
pkgdesc="X11 font encoding library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="util-macros xorgproto-dev 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
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="7346079a6980464f57f5da0e96025bbf4b13fbb7ed976b58d9c54b78525d9d0b4174b4783326a12048971cf5d05221bafe2f41c6b02931743913719cde21740c  libfontenc-1.1.3.tar.bz2"