From 94fa9f25882bd71a79914a188be1cb702358eea3 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 3 Dec 2010 03:24:41 +0000
Subject: xorg-fonts-encoding: upgrade

---
 abs/core/xorg-fonts-encodings/PKGBUILD | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/abs/core/xorg-fonts-encodings/PKGBUILD b/abs/core/xorg-fonts-encodings/PKGBUILD
index e0e3633..a69df06 100644
--- a/abs/core/xorg-fonts-encodings/PKGBUILD
+++ b/abs/core/xorg-fonts-encodings/PKGBUILD
@@ -1,21 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 57486 2009-10-31 18:28:17Z jgc $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=xorg-fonts-encodings
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.0.3
+pkgrel=1
 pkgdesc="X.org font encoding files"
-arch=(i686 x86_64)
+arch=(any)
 url="http://xorg.freedesktop.org/"
+license=('custom')
 depends=('xorg-font-utils')
-install="xorg-fonts-encodings.install"
+install=xorg-fonts-encodings.install
 source=(${url}/releases/individual/font/encodings-${pkgver}.tar.bz2)
-md5sums=('11adda157b03d63fd61d95ad7ef00466')
+md5sums=('29637480e7ce12546668631067c19ced')
 
 build() {
-  cd ${startdir}/src/encodings-${pkgver}
+  cd "${srcdir}/encodings-${pkgver}"
   ./configure --prefix=/usr \
-              --with-encodingsdir=/usr/share/fonts/encodings
+      --with-encodingsdir=/usr/share/fonts/encodings || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+}
+package() {
+  cd "${srcdir}/encodings-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
 }
-- 
cgit v0.12