blob: f00d287693f84bcc50b77ad85e23fa74eadd80a4 (
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=libxft
pkgver=2.3.3
pkgrel=0
pkgdesc="FreeType-based font drawing library for X"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="zlib-dev"
makedepends="$depends_dev xorgproto fontconfig-dev freetype-dev libxrender-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXft-$pkgver.tar.bz2"
builddir="$srcdir/libXft-$pkgver"
build () {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="28fdaf3baa3b156a4a7fdd6e39c4d8026d7d21eaa9be27c9797c8d329dab691a1bc82ea6042f9d4729a9343d93787536fb7e4b606f722f33cbe608b2e79910e8 libXft-2.3.3.tar.bz2"
|