updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / freetype2-cleartype / PKGBUILD
blobe3cc5aabb6e731d870361d7d3c846860526b62cf
1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
2 # Contributor: Tetsumaki <http://goo.gl/YMBdA>
3 # Contributor: Dave Reisner <d@falconindy.com>
4 # Contributor: Lee.MaRS <leemars@gmail.com>
5 # Contributor: freedom
7 pkgname=freetype2-cleartype
8 pkgver=2.4.8
9 pkgrel=1
10 pkgdesc="TrueType font rendering library with ClearType patch"
11 arch=('i686' 'x86_64')
12 license=('GPL')
13 url="http://freetype.sourceforge.net/"
14 depends=('zlib')
15 conflicts=('freetype2')
16 provides=("freetype2=$pkgver")
17 options=('!libtool')
18 source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
19         freetype-2.2.1-subpixel-disable-quantization.diff
20         bytecode.patch
21         freetype-2.3.0-enable-spr.patch
22         freetype-2.2.1-enable-valid.patch
23         freetype-2.2.1-memcpy-fix.patch)
24 md5sums=('dbf2caca1d3afd410a29217a9809d397'
25          '70d23f3557750c0503689d3314958d89'
26          'a26310abfa02cde26cf56a28cf5f0eba'
27          '816dc8619a6904a7385769433c0a8653'
28          '214119610444c9b02766ccee5e220680'
29          '6fb6606d28082ecb8e0c6d986b0b26aa')
31 build() {
32   cd "${srcdir}/freetype-${pkgver}"
33   patch -Np1 -i "${srcdir}/freetype-2.2.1-subpixel-disable-quantization.diff"
34   patch -Np0 -i "${srcdir}/bytecode.patch"
35   patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch"
36   patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch"
37   patch -Np1 -i "${srcdir}/freetype-2.2.1-memcpy-fix.patch"
39   ./configure --prefix=/usr
40   make
43 package() {
44   cd "${srcdir}/freetype-${pkgver}"
45   make DESTDIR="${pkgdir}" install