summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}