# Description: X font rendering client library, with Ubuntu's LCD rendering patches # URL: https://launchpad.net/ubuntu/natty/+source/xft # Maintainer: Sean Whitton, sean at silentflame dot com # Packager: Tilman Sauerbeck, tilman at crux dot nu # Depends on: xorg-libxrender, freetype2-ubuntu, fontconfig-ubuntu # Based on the AUR package by Paul Bredbury, Biru Ionut and Andrew Fagiani name=libxft-ubuntu version=2.2.0 _pkgver=2.1.14-2ubuntu1 release=1 source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-$version.tar.bz2 http://archive.ubuntu.com/ubuntu/pool/main/x/xft/xft_$_pkgver.diff.gz) build() { gunzip xft_${_pkgver}.diff.gz cd libXft-$version patch -Np1 -i ../xft_$_pkgver.diff for _f in $(cat debian/patches/series) ; do [[ $_f = "001_no_export_freetype.diff" ]] && continue patch -Np1 -i debian/patches/$_f done ./configure --prefix=/usr --mandir=/usr/man make make DESTDIR=$PKG install }