Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 18th, 2010  |  syntax: None  |  size: 1.05 KB  |  views: 161  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # $Id: PKGBUILD,v 1.46 2007/07/07 12:34:11 jgc Exp $
  2. # Maintainer: sda00 <sda00@himki.net>
  3. pkgname=freetype2-lcd_
  4. pkgver=2.4.2
  5. pkgrel=1
  6. pkgdesc="TrueType font rendering library for LCD Displays"
  7. arch=(i686 x86_64)
  8. license=('GPL')
  9. url="http://freetype.sourceforge.net"
  10. depends=('zlib' 'cairo-lcd' 'libxft-lcd')
  11. provides=('freetype2')
  12. conflicts=('freetype2' 'freetype2-lcd')
  13. options=('!libtool')
  14. source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
  15.         freetype-2-quantization_fix.patch
  16.         ftoption.h)
  17. md5sums=('647ee8ed266f9a4117c8d0a4855b3d3e'
  18.          '385162f4a3e01653d55ab9a9be0c8808'
  19.          '5a8171040609dc6f67048e955b5b1324')
  20.  
  21. build() {
  22.   cd ${startdir}/src/freetype-${pkgver}
  23.   cp ../../ftoption.h include/freetype/config/ftoption.h
  24.   cp ../../freetype-2-quantization_fix.patch src/autofit/freetype-2-quantization_fix.patch
  25.   cd src/autofit
  26.   patch -p0 -i ./freetype-2-quantization_fix.patch || return 1
  27.   cd ../../
  28.  
  29.   ./configure --prefix=/usr
  30.   make || return 1
  31.   make DESTDIR=${startdir}/pkg install
  32. }
clone this paste RAW Paste Data