updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / freetype2-lcd_ / PKGBUILD
blob2e01f0246ca2eaf046492186c07838c736f0aa2a
1 # Maintainer: Anonymo <meowdib at gmail dot com>
2 # Maintainer: Luca Bennati <lucak3 at gmail dot com>
4 pkgname=freetype2-lcd_
5 _realname=freetype
6 pkgver=2.4.8
7 pkgrel=1
8 pkgdesc="TrueType font rendering library for LCD Displays"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 url="http://freetype.sourceforge.net"
12 depends=('zlib' 'cairo>=1.10.0' 'libxft-lcd')
13 provides=("freetype2=${pkgver}")
14 conflicts=('freetype2' 'freetype2-lcd')
15 options=('!libtool')
16 source=("http://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-$pkgver.tar.bz2"
17         freetype-2-quantization_fix.patch
18         ftoption.h)
19 md5sums=('dbf2caca1d3afd410a29217a9809d397'
20          '385162f4a3e01653d55ab9a9be0c8808'
21          '5a8171040609dc6f67048e955b5b1324')
23 build() {
24   cd "${srcdir}/${_realname}-${pkgver}"
26   cp ../../ftoption.h include/freetype/config/ftoption.h
27   cp ../../freetype-2-quantization_fix.patch src/autofit/freetype-2-quantization_fix.patch
28   cd src/autofit
29   patch -p0 -i freetype-2-quantization_fix.patch
30   cd ../../
32   ./configure --prefix=/usr
33   make
36 package() {
37   cd "${srcdir}/${_realname}-${pkgver}"
39   make DESTDIR="${pkgdir}" install