summaryrefslogtreecommitdiffstats
path: root/abs/core/gsfonts/PKGBUILD
blob: df44e7f76a80e914b6043f87d61957f65c1bf6d6 (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
32
33
34
# $Id: PKGBUILD 149058 2012-02-05 15:58:05Z bisson $
# Contributor: Firmicus <francois.archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=gsfonts
_realname=urw-fonts
pkgver=1.0.7pre44
_fedoraver=2.4
_fedorarel=11.fc17
pkgrel=3
pkgdesc='Standard Ghostscript Type1 fonts from URW'
url='http://sourceforge.net/projects/gs-fonts/'
arch=('any')
license=('GPL2')
makedepends=('rpmextract')
depends=('xorg-font-utils' 'fontconfig')
source=("http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm")
sha1sums=('c4b31e581c25bc497c915d6d81e60cfdbb9f529e')

provides=("${_realname}")
install=install

build() {
	cd "${srcdir}"
	rpmextract.sh "${_realname}-${_fedoraver}-${_fedorarel}.src.rpm"
	bsdtar xf *.tar.bz2
}

package() {
	cd "${srcdir}"
	install -d "${pkgdir}"/usr/share/fonts/Type1
	install -m644 *.{pfb,pfm,afm} "${pkgdir}"/usr/share/fonts/Type1
}