summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxfontcache/PKGBUILD
blob: 925a62c16af181a186b58b369246046bbcc43d5f (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
25
# $Id: PKGBUILD 55250 2009-10-12 16:05:23Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxfontcache
pkgver=1.0.5
pkgrel=1
pkgdesc="X11 font cache library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'fontcacheproto')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXfontcache-${pkgver}.tar.bz2 LICENSE)
md5sums=('bbd37768c87f63cf2eb845b2c0f56515'
         '152d5429e5292e8098c667e0d0d22f01')

build() {
  cd ${srcdir}/libXfontcache-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static \
              --build=${CHOST} --host=${CHOST}
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}