PKGBUILDs/extra/xorg-fonts-100dpi/PKGBUILD
2009-10-09 21:23:22 -05:00

37 lines
1.5 KiB
Bash

# $Id: PKGBUILD 36470 2009-04-23 06:46:30Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-fonts-100dpi
pkgver=1.0.1
pkgrel=2
pkgdesc="X.org 100dpi fonts"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
groups=('xorg')
install=xfonts.install
source=(${url}/releases/individual/font/font-adobe-100dpi-1.0.0.tar.bz2
${url}/releases/individual/font/font-adobe-utopia-100dpi-1.0.1.tar.bz2
${url}/releases/individual/font/font-bh-100dpi-1.0.0.tar.bz2
${url}/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.0.tar.bz2
${url}/releases/individual/font/font-bitstream-100dpi-1.0.0.tar.bz2)
md5sums=('443acfe70e26716282f9068730fe92c4' '5d28a30efef966f8dbbaff9a6619f01a'\
'e5592de74a5c04e3a2608800dd079197' 'c44d3f730564da465993e9292a33c235'\
'173352ddec3d26e2b91df1edcf1ae85b')
build() {
cd ${srcdir}
for dir in font-*-100dpi-1.0.0 font-*-100dpi-1.0.1; do
pushd ${dir}
./configure --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
--with-fontdir=/usr/share/fonts/100dpi
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}
popd
done
rm -f ${pkgdir}/usr/share/fonts/100dpi/fonts.*
}