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

24 lines
831 B
Bash

# $Id: PKGBUILD 35646 2009-04-15 00:09:48Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxfontcache
pkgver=1.0.4
pkgrel=2
pkgdesc="X11 font cache library"
arch=(arm)
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=('1adca018aa7bf2d215f20a69c10828ad' '152d5429e5292e8098c667e0d0d22f01')
build() {
cd ${srcdir}/libXfontcache-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}