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

Untitled

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