summaryrefslogtreecommitdiffstats
path: root/abs/core/libfontenc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libfontenc/PKGBUILD')
-rw-r--r--abs/core/libfontenc/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core/libfontenc/PKGBUILD b/abs/core/libfontenc/PKGBUILD
index 8e79264..b4d7cbe 100644
--- a/abs/core/libfontenc/PKGBUILD
+++ b/abs/core/libfontenc/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 50982 2009-09-04 12:17:17Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libfontenc
-pkgver=1.0.4
+pkgver=1.0.5
pkgrel=1
pkgdesc="X11 font encoding library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
+license=('custom')
depends=('zlib')
-makedepends=('pkgconfig' 'xproto')
-options=('libtool')
+makedepends=('pkgconfig' 'xproto>=7.0.15')
+options=('!libtool')
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('5cd16a2e51ca7b96a3081c7486ff98b9')
+sha1sums=('e71370c349e93ba70f91ad1148ca9e5cabfcca4f')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static \
- --with-encodingsdir=/usr/share/fonts/encodings
+ --localstatedir=/var --disable-static \
+ --with-encodingsdir=/usr/share/fonts/encodings || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}