Advertisement
Guest User

ttf-ms-fonts

a guest
Jan 28th, 2013
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. # Maintainer: birdflesh <antkoul at gmail dot com>
  2. # Contributor: Army <uli.armbruster@gmail.com>
  3. # Contributor: Thayer Williams <thayer@archlinux.org>
  4. # Contributor: dale <dale@archlinux.org>
  5.  
  6. pkgname=ttf-ms-fonts
  7. pkgver=2.0
  8. pkgrel=11
  9. pkgdesc="Core TTF Fonts from Microsoft"
  10. arch=('any')
  11. url="http://corefonts.sourceforge.net/"
  12. license=('custom:microsoft')
  13. depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
  14. makedepends=('libarchive>=3.0.2' 'cabextract')
  15. provides=('ttf-font')
  16. install=$pkgname.install
  17. _sfpath="http://downloads.sourceforge.net/corefonts"
  18. source=($_sfpath/andale32.exe $_sfpath/arial32.exe $_sfpath/arialb32.exe
  19. $_sfpath/comic32.exe $_sfpath/courie32.exe $_sfpath/georgi32.exe
  20. $_sfpath/impact32.exe $_sfpath/times32.exe $_sfpath/trebuc32.exe
  21. $_sfpath/verdan32.exe $_sfpath/webdin32.exe $_sfpath/wd97vwr32.exe)
  22. md5sums=('cbdc2fdd7d2ed0832795e86a8b9ee19a'
  23. '9637df0e91703179f0723ec095a36cb5'
  24. 'c9089ae0c3b3d0d8c4b0a95979bb9ff0'
  25. '2b30de40bb5e803a0452c7715fc835d1'
  26. '4e412c772294403ab62fb2d247d85c60'
  27. '4d90016026e2da447593b41a8d8fa8bd'
  28. '7907c7dd6684e9bade91cff82683d9d7'
  29. 'ed39c8ef91b9fb80f76f702568291bd5'
  30. '0d7ea16cac6261f8513a061fbfcdb2b5'
  31. '12d2a75f8156e10607be1eaa8e8ef120'
  32. '230a1d13a365b22815f502eb24d9149b'
  33. 'efa72d3ed0120a07326ce02f051e9b42')
  34.  
  35. package() {
  36. # We have to use cabextract, bsdtar doesn't work with this CAB archive
  37. cabextract "Viewer1.cab"
  38.  
  39. install -dm755 "$pkgdir/usr/share/fonts/TTF"
  40.  
  41. for font in *.{ttf,TTF}; do
  42. install -m644 $font "$pkgdir/usr/share/fonts/TTF/$(echo $font|tr A-Z a-z)"
  43. done
  44.  
  45. install -Dm644 Licen.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement