This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

sgi-fonts/PKGBUILD

By: a guest on Jan 11th, 2013  |  syntax: None  |  size: 0.84 KB  |  views: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: David Scholl <djscholl at gmail dot com>
  2. pkgname=sgi-fonts
  3. pkgver=1.0.1
  4. pkgrel=5
  5. pkgdesc="Bitmapped X11 screen fonts from Silicon Graphics, Inc."
  6. arch=('any')
  7. url="http://oss.sgi.com/projects/sgi_propack/"
  8. license=('MIT')
  9. depends=('fontconfig' 'xorg-font-utils' 'xorg-fonts-encodings')
  10. makedepends=('rpmextract' 'imake')
  11. install=sgi-fonts.install
  12. source=(ftp://patches-europe.sgi.com/pub/linux/ProPack1.4/SRPMS/$pkgname-1.0-1.src.rpm sgi-fonts.patch)
  13. md5sums=('a98655922ee624a7aa8fdae161afdfa9' 'a7f1df8c2d785c859ae60eb1c5742407')
  14.  
  15. build() {
  16.   cd $srcdir
  17.   rpmextract.sh $pkgname-1.0-1.src.rpm
  18.   tar xf sgi-fonts.tar.gz
  19.   patch -p0 < sgi-fonts.patch || return 1
  20.   cd $pkgname
  21.   xmkmf || return 1
  22.   make || return 1
  23.   make DESTDIR=$pkgdir install || return 1
  24.   cd $pkgdir/fonts/X11/misc
  25.   mv sgi/*.pcf.gz ./
  26.   rm -Rf sgi
  27. }
clone this paste RAW Paste Data