summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/freetype2-static/PKGBUILD36
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
}