summaryrefslogtreecommitdiff
path: root/extra/fontconfig/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fontconfig/PKGBUILD')
-rw-r--r--extra/fontconfig/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/extra/fontconfig/PKGBUILD b/extra/fontconfig/PKGBUILD
index ab3dad32d..f051c8010 100644
--- a/extra/fontconfig/PKGBUILD
+++ b/extra/fontconfig/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 175209 2013-01-16 17:39:36Z andyrtr $
+# $Id: PKGBUILD 183357 2013-04-21 22:09:09Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=fontconfig
-pkgver=2.10.2
-pkgrel=2
+pkgver=2.10.92
+pkgrel=4
pkgdesc="A library for configuring and customizing font access"
arch=(i686 x86_64)
url="http://www.fontconfig.org/release/"
@@ -12,13 +12,20 @@ depends=('expat' 'freetype2')
options=('!libtool')
install=fontconfig.install
source=(http://www.fontconfig.org/release/$pkgname-$pkgver.tar.bz2
- 29-replace-bitmap-fonts.conf)
-sha256sums=('8ea8ef56738fd95f0be611015f89614fd4dec79ddac6b3ff26bc4a8338569952'
- '5addef189c5e01679ce3b610f8864c59980029c98f323f40f8c9080429857fdc')
+ 29-replace-bitmap-fonts.conf git_fixes.diff)
+sha256sums=('1162059927120f2321f12917189b524e6b2f09e11ac643278d0bb82634035b22'
+ '2325c478783659e8fce79f5754119934d6ce21f81552f878b740c7b18f9fe0d6'
+ '7dc98137405ee0e5f98f3266a760a4da27d78e3c2bc7b7ef4db6b481df3c39f0')
+
+ # a nice page to test font matching:
+ # http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # post release fixes
+ patch -Np1 -i ${srcdir}/git_fixes.diff
+
# make sure there's no rpath trouble and sane .so versioning - FC and Gentoo do this as well
libtoolize -f
autoreconf -fi
@@ -43,12 +50,9 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- # not upstream, not in FC and not in Gentoo, this should probably go upstream
- # meanwhile to satisfy pages like http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html we bring it back
install -m644 "$srcdir/29-replace-bitmap-fonts.conf" "$pkgdir/etc/fonts/conf.avail"
- pushd $pkgdir/etc/fonts/conf.d
- ln -s /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf .
- popd
+ ln -s ../conf.avail/29-replace-bitmap-fonts.conf \
+ "$pkgdir/etc/fonts/conf.d/29-replace-bitmap-fonts.conf"
#Install license
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"