2010-04-07 03:23:26 +08:00
|
|
|
# $Id: PKGBUILD 73458 2010-03-26 07:43:21Z francois $
|
|
|
|
# Maintainer: Firmicus <francois.archlinux.org>
|
|
|
|
# Contributor: dorphell <dorphell@archlinux.org>
|
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=gsfonts
|
2010-04-07 03:23:26 +08:00
|
|
|
_realname=urw-fonts
|
|
|
|
pkgver=1.0.7pre44
|
|
|
|
_fedoraver=2.4
|
2012-09-27 07:54:11 +08:00
|
|
|
_fedorarel=12.fc18
|
|
|
|
pkgrel=3
|
2010-04-07 03:23:26 +08:00
|
|
|
pkgdesc="Ghostscript standard Type1 fonts from URW"
|
|
|
|
arch=(any)
|
|
|
|
url="http://sourceforge.net/projects/gs-fonts/"
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('GPL2')
|
|
|
|
depends=('xorg-font-utils' 'fontconfig')
|
2010-04-07 03:23:26 +08:00
|
|
|
makedepends=('rpmextract')
|
|
|
|
provides=(${_realname})
|
2010-03-14 23:48:48 +08:00
|
|
|
install=xfonts.install
|
2010-04-07 03:23:26 +08:00
|
|
|
source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm)
|
2012-09-28 07:20:39 +08:00
|
|
|
options=()
|
|
|
|
md5sums=('7bd842c30948a43eaabb107fb5773647')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2010-04-07 03:23:26 +08:00
|
|
|
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
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|