summaryrefslogtreecommitdiff
path: root/user/libxft/APKBUILD
blob: 4201c0aaea4487e37e7aa695a60b3f8b43aee9d9 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxft
pkgver=2.3.8
pkgrel=0
pkgdesc="FreeType-based font drawing library for X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
depends_dev="zlib-dev"
makedepends="$depends_dev fontconfig-dev freetype-dev libxrender-dev
	util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXft-$pkgver.tar.xz"
builddir="$srcdir/libXft-$pkgver"

build () {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

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

sha512sums="fc385d73e1acb701942c154ffb5a283d17891f21d3ac598c4a3fb375a7d6082734593062368c15cad67c1a94177dd15deed878ec5ea852188393b52e92c372c8  libXft-2.3.8.tar.xz"