PKGBUILDs/extra/font-misc-meltho/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
1 KiB
Bash

# $Id: PKGBUILD 49877 2009-08-16 19:28:13Z jgc $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=font-misc-meltho
pkgver=1.0.0
pkgrel=5
pkgdesc="X.org Misc Meltho 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=('ccb212a7badf7aefdc9f9a92af428d32')
sha1sums=('fb7bb1ef32a1b7eacd2df4c372967706cd730a92')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
--with-fontdir=/usr/share/fonts/OTF || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/fonts"/*/fonts.*
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}