summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxfont/PKGBUILD
blob: 305555435a8c2b011b7f9af553d1f89ab1d3afbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 4410 2008-07-06 20:50:37Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxfont
pkgver=1.3.3
pkgrel=1
pkgdesc="X11 font rasterisation library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libfontenc' 'freetype2>=2.3.7' 'fontsproto')
makedepends=('pkgconfig' 'xtrans' 'fontcacheproto' 'xproto')
options=('!libtool')
source=(${url}/archive/individual/lib/libXfont-${pkgver}.tar.bz2)
md5sums=('4f174b9613f87cf00d731da428a1b194')

build() {
  cd ${startdir}/src/libXfont-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}