aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfont/APKBUILD
blob: 4b322417617165e91d4e0b6f724e970412221941 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfont
pkgver=1.4.6
pkgrel=0
pkgdesc="X11 font rasterisation library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
install=
depends_dev="xproto fontsproto libfontenc-dev freetype-dev"
makedepends="$depends_dev xtrans zlib-dev"
source="http://xorg.freedesktop.org/archive/individual/lib/libXfont-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/libXfont-$pkgver
	./configure --prefix=/usr --sysconfdir=/etc || return 1
	make || return 1
}

package() {
	cd "$srcdir"/libXfont-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="351a9b7348d165029bda52c9fdcb5c7a  libXfont-1.4.6.tar.bz2"
sha256sums="d0cbfe4554dc17ceea413cdad5601d35ed8d05d5b880e60931a8775fd1157e9f  libXfont-1.4.6.tar.bz2"
sha512sums="c0e28d9213464ff3bf8e756da21ef3108bc6cb37b2bfd99787a4dd1ed224e65b778a3b184f72b32ca60de13c93f48879b41bece4f79954276cddc6b34c391ed9  libXfont-1.4.6.tar.bz2"