summaryrefslogtreecommitdiffstats
path: root/x11/fontconfig/APKBUILD
blob: 979d62e7bcc15265582c120493b485129710d753 (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
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer:
pkgname=fontconfig
pkgver="2.6.0"
pkgrel=0
pkgdesc="The Fontconfig package is a library for configuring and customizing font access."
url="http://fontconfig.org"
license="GPL"
depends="uclibc freetype expat zlib"
makedepends="freetype-dev expat-dev zlib-dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://fontconfig.org/release/${pkgname}-${pkgver}.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-docs
	make || return 1
	make DESTDIR="$pkgdir" install

	install -m644 -D COPYING "$pkgdir"/usr/share/licenses/"${pkgname}"/COPYING
}

md5sums="ab54ec1d4ddd836313fdbc0cd5299d6d  fontconfig-2.6.0.tar.gz"