diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-02 03:49:45 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-02 03:49:45 (GMT) |
commit | 062685c62f1f3b47e3cd1482c8978f203e6eada0 (patch) | |
tree | c6d6f9abd1bacd3e359033b22c9c653debb94f0e | |
parent | b9296711ab4eba9319c62e46bc65ee41d1746ad1 (diff) | |
download | linhes_pkgbuild-062685c62f1f3b47e3cd1482c8978f203e6eada0.zip linhes_pkgbuild-062685c62f1f3b47e3cd1482c8978f203e6eada0.tar.gz linhes_pkgbuild-062685c62f1f3b47e3cd1482c8978f203e6eada0.tar.bz2 |
freetype2-static: upgrade
-rw-r--r-- | abs/core/freetype2-static/PKGBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/abs/core/freetype2-static/PKGBUILD b/abs/core/freetype2-static/PKGBUILD index 6288742..f974151 100644 --- a/abs/core/freetype2-static/PKGBUILD +++ b/abs/core/freetype2-static/PKGBUILD @@ -1,30 +1,32 @@ -# Maintainer: Maskawanian <aur@cryingwolf.org> +# $Id: PKGBUILD 94196 2010-10-05 08:06:59Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + pkgname=freetype2-static -pkgver=2.3.9 +pkgver=2.4.3 pkgrel=1 pkgdesc="TrueType font rendering library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL') url="http://freetype.sourceforge.net" depends=('zlib') -conflicts=('freetype2') -provides=('freetype2='${pkgver}) replaces=('freetype2') 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=('d76233108aca9c9606cdbd341562ad9a' '9ff19e742968c29e3ba52b08d6bf0a50' '816dc8619a6904a7385769433c0a8653' '214119610444c9b02766ccee5e220680' '6fb6606d28082ecb8e0c6d986b0b26aa') + freetype-2.3.0-enable-spr.patch + freetype-2.2.1-enable-valid.patch) +md5sums=('75ac7082bde7b3805dc5d6bc806fa045' + '816dc8619a6904a7385769433c0a8653' + '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 - ./configure --prefix=/usr --enable-static || return 1 + cd "${srcdir}/freetype-${pkgver}" + patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch" + patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch" + + ./configure --prefix=/usr --enable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 +} +package() { + cd "${srcdir}/freetype-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 } |