# $Id: PKGBUILD 49870 2009-08-16 19:25:19Z jgc $ # Maintainer: Eric Belanger # Contributor: Jan de Groot pkgname=font-misc-ethiopic pkgver=1.0.0 pkgrel=5 pkgdesc="X.org Misc Ethiopic fonts" arch=('any') url="http://xorg.freedesktop.org/" license=('MIT') 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 LICENSE) md5sums=('0b271fc617087d77560bdca20c0cdbb0' '059abd0312fb05b4ae583a5d0b8df49e') sha1sums=('d598b873ea897574b86167a36b4c151f84d22d68' '1015aac496f1270a076b07e021f3e2ec8fbe028a') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --with-mapfiles=/usr/share/fonts/util \ --with-ttf-fontdir=/usr/share/fonts/TTF \ --with-otf-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 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }