PKGBUILDs/extra/libfontenc/PKGBUILD
2009-11-24 19:58:17 -08:00

25 lines
757 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libfontenc
pkgver=1.0.4
pkgrel=2
pkgdesc="X11 font encoding library"
arch=('arm')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('zlib')
makedepends=('pkgconfig' 'xproto')
options=('!libtool')
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
md5sums=('5cd16a2e51ca7b96a3081c7486ff98b9')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--with-encodingsdir=/usr/share/fonts/encodings || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}