diff options
-rw-r--r-- | abs/core-testing/freetype2/PKGBUILD | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/abs/core-testing/freetype2/PKGBUILD b/abs/core-testing/freetype2/PKGBUILD index 177f421..19f921d 100644 --- a/abs/core-testing/freetype2/PKGBUILD +++ b/abs/core-testing/freetype2/PKGBUILD @@ -1,7 +1,8 @@ -# $Id: PKGBUILD 4337 2008-07-06 17:43:50Z jgc $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 85761 2010-07-19 13:01:22Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + pkgname=freetype2 -pkgver=2.3.7 +pkgver=2.4.1 pkgrel=1 pkgdesc="TrueType font rendering library" arch=(i686 x86_64) @@ -10,24 +11,18 @@ url="http://freetype.sourceforge.net" depends=('zlib') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2 - bytecode.patch - freetype-2.3.0-enable-spr.patch - freetype-2.2.1-enable-valid.patch - freetype-2.2.1-memcpy-fix.patch) -md5sums=('83306194817ebdea554133b4232a34aa' - '9ff19e742968c29e3ba52b08d6bf0a50' + freetype-2.3.0-enable-spr.patch + freetype-2.2.1-enable-valid.patch) +md5sums=('567a27e5189ed581396f69fb51faf2d8' '816dc8619a6904a7385769433c0a8653' - '214119610444c9b02766ccee5e220680' - '6fb6606d28082ecb8e0c6d986b0b26aa') + '214119610444c9b02766ccee5e220680') build() { - cd ${startdir}/src/freetype-${pkgver} - patch -Np0 -i ${startdir}/src/bytecode.patch || return 1 - patch -Np1 -i ${startdir}/src/freetype-2.3.0-enable-spr.patch || return 1 - patch -Np1 -i ${startdir}/src/freetype-2.2.1-enable-valid.patch || return 1 - patch -Np1 -i ${startdir}/src/freetype-2.2.1-memcpy-fix.patch || return 1 + cd "${srcdir}/freetype-${pkgver}" + patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch" || return 1 + patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch" || return 1 - ./configure --prefix=/usr --disable-static || return 1 + ./configure --prefix=/usr || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + make DESTDIR="${pkgdir}" install || return 1 } |