PKGBUILDs/extra/font-bitstream-speedo/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
1 KiB
Bash

# $Id: PKGBUILD 49865 2009-08-16 19:19:19Z jgc $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=font-bitstream-speedo
pkgver=1.0.0
pkgrel=5
pkgdesc="Bitstream Speedo fonts"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
install=xfonts.install
source=(http://xorg.freedesktop.org/releases/individual/font/${pkgname}-${pkgver}.tar.bz2)
md5sums=('1399dc18aeb9571b0951d9570ea1059d')
sha1sums=('e7d654b7844d3343f15bfb4807253d385fcdda49')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
--with-fontdir=/usr/share/fonts/speedo || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/fonts/speedo"/fonts.*
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}