summaryrefslogtreecommitdiffstats
path: root/abs/core/gsfonts/PKGBUILD
blob: 325fffe9dd0cfc543f29330fa541dd6b389774a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 73458 2010-03-26 07:43:21Z francois $
# Maintainer: Firmicus <francois.archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=gsfonts
_realname=urw-fonts
pkgver=1.0.7pre44
_fedoraver=2.4
_fedorarel=9.fc13
pkgrel=2
pkgdesc="Ghostscript standard Type1 fonts from URW"
arch=(any)
url="http://sourceforge.net/projects/gs-fonts/"
license=('GPL2')
depends=('xorg-font-utils' 'fontconfig')
makedepends=('rpmextract')
provides=(${_realname})
install=xfonts.install
source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm)
options=(force)
md5sums=('54935e7d6692792e414510490e3a0fa4')

build() {
  cd $srcdir || return 1
  /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm || return 1
  bsdtar xf *.tar.bz2 || return 1
  install -d ${pkgdir}/usr/share/fonts/Type1
  install -m644 *.{pfb,pfm,afm} \
                ${pkgdir}/usr/share/fonts/Type1/ || return 1
}