# $Id: PKGBUILD 36502 2009-04-23 23:25:53Z eric $ #Maintainer: Jan de Groot pkgname=xorg-fonts-cyrillic pkgver=1.0.0 pkgrel=4 pkgdesc="X.org cyrillic fonts" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) install=xfonts.install source=(${url}/releases/individual/font/font-cronyx-cyrillic-${pkgver}.tar.bz2 ${url}/releases/individual/font/font-misc-cyrillic-${pkgver}.tar.bz2 ${url}/releases/individual/font/font-screen-cyrillic-1.0.1.tar.bz2 ${url}/releases/individual/font/font-winitzki-cyrillic-${pkgver}.tar.bz2) md5sums=('22b451e7230b8c003cfc496ee2d360cc' '3596907d7a2a99c81d8de99bc4552b6a'\ 'c8d5aef01c906c7aaea329702a8b1b63' 'b99b02aff36a88ca3379715423c60303') build() { cd ${srcdir} for dir in font-*-cyrillic-${pkgver} font-*-cyrillic-1.0.1; do pushd ${dir} ./configure --prefix=/usr \ --with-mapfiles=/usr/share/fonts/util \ --with-fontdir=/usr/share/fonts/cyrillic make || return 1 make DESTDIR=${pkgdir} install || return 1 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*} popd done rm -f ${pkgdir}/usr/share/fonts/*/fonts.* }