summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-03 03:24:41 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-03 03:24:41 (GMT)
commit94fa9f25882bd71a79914a188be1cb702358eea3 (patch)
tree9097cb57f9e07b8ee75c2aa78f5b96402c8b1c5f
parentf306f81a337f4305a5be4ce9bbf4f1613e066cdc (diff)
downloadlinhes_pkgbuild-94fa9f25882bd71a79914a188be1cb702358eea3.zip
linhes_pkgbuild-94fa9f25882bd71a79914a188be1cb702358eea3.tar.gz
linhes_pkgbuild-94fa9f25882bd71a79914a188be1cb702358eea3.tar.bz2
xorg-fonts-encoding: upgrade
-rw-r--r--abs/core/xorg-fonts-encodings/PKGBUILD24
1 files 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
}