mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
1 KiB
Bash
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
|
|
}
|