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

PKGBUILD ttf-vista-fonts

By: a guest on Jul 15th, 2011  |  syntax: Bash  |  size: 1.20 KB  |  views: 181  |  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: mutlu_inek <mutlu_inek@yahoo.de>
  2. # Contributor: mutlu_inek <mutlu_inek@yahoo.de>
  3.  
  4. pkgname=ttf-vista-fonts
  5. pkgver=1
  6. pkgrel=3
  7. pkgdesc="Microsoft Vista True Type Fonts"
  8. url="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=048dc840-14e1-467d-8dca-19d2a8fd7485&displaylang=en"
  9. license=(custom)
  10. arch=('any')
  11. depends=('fontconfig' 'xorg-font-utils')
  12. makedepends=(cabextract)
  13. conflicts=('ttf-ms-extrafonts')
  14. provides=()
  15. replaces=('vista-fonts')
  16. install=$pkgname.install
  17. source=('http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe')
  18. md5sums=('9b4b476488674ae103d2e97cd88cd222')
  19.  
  20. build() {
  21.   mkdir -p $srcdir/$pkgname-$pkgver
  22.   cabextract --lowercase $srcdir/PowerPointViewer.exe -d $srcdir/$pkgname-$pkgver
  23.   cabextract --lowercase $srcdir/$pkgname-$pkgver/ppviewer.cab -d $srcdir/$pkgname-$pkgver
  24.   mkdir -p $pkgdir/usr/share/fonts/TTF
  25.   install -m644 $srcdir/$pkgname-$pkgver/*.{ttf,ttc} $pkgdir/usr/share/fonts/TTF
  26.   mv $srcdir/$pkgname-$pkgver/eula.txt $srcdir/$pkgname-$pkgver/license.txt
  27.   mkdir -p $pkgdir/usr/share/licenses/$pkgname
  28.   install -D -m644 $srcdir/$pkgname-$pkgver/license.txt $pkgdir/usr/share/licenses/$pkgname
  29. }
clone this paste RAW Paste Data