PKGBUILDs/extra/libxfont/PKGBUILD
2009-09-26 09:35:50 -05:00

24 lines
879 B
Bash

# $Id: PKGBUILD 27500 2009-02-22 09:33:04Z andyrtr $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxfont
pkgver=1.4.0
pkgrel=1
pkgdesc="X11 font rasterisation library"
arch=(arm)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libfontenc>=1.0.4' 'freetype2>=2.3.8' 'fontsproto>=2.0.2')
makedepends=('pkgconfig' 'xtrans' 'fontcacheproto' 'xproto')
options=('!libtool')
source=(${url}/archive/individual/lib/libXfont-${pkgver}.tar.bz2)
md5sums=('3a8e06b25912ef339d70a8ba003da9b5')
build() {
cd "${srcdir}/libXfont-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || 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
}