PKGBUILDs/community/libxft-lcd/PKGBUILD

31 lines
958 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Piotr Krawiec (aka pkraw)
pkgname=libxft-lcd
pkgver=2.1.13
pkgrel=1
pkgdesc="FreeType-based font drawing library for X (with custom LCD filter)"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('GPL')
depends=('fontconfig' 'libxrender')
makedepends=('pkgconfig')
options=('!libtool')
conflicts=('libxft')
provides=("libxft=$pkgver")
source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2 \
xorg-lib-libXft-lcd-filter.patch)
md5sums=('bc8881851f3bd8dcc625fac37350a1c6'
'd9b353737c9fe5932eb3b79d351333dd')
build() {
cd ${startdir}/src/libXft-${pkgver}
patch -Np1 -i ${startdir}/src/xorg-lib-libXft-lcd-filter.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
}