From 565a328843f2ece3c8793f1bbf745700d88cc908 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sat, 9 Jun 2012 12:18:39 +1000 Subject: xorg-font-msttcorefonts: picked up orphand port --- xorg-font-msttcorefonts/Pkgfile | 51 ++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 24 deletions(-) (limited to 'xorg-font-msttcorefonts/Pkgfile') diff --git a/xorg-font-msttcorefonts/Pkgfile b/xorg-font-msttcorefonts/Pkgfile index 0b657f9cc..9337a5010 100644 --- a/xorg-font-msttcorefonts/Pkgfile +++ b/xorg-font-msttcorefonts/Pkgfile @@ -1,34 +1,37 @@ # URL: http://corefonts.sourceforge.net/ # Description: Microsoft's Web Fonts (truetype) -# Maintainer: Lucas Hazel, lucas at die dot net dot au +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com # Packager: Matt Housh, jaeger at morpheus dot net -# Depends on: xorg-mkfontdir, xorg-mkfontscale +# Depends on: xorg-mkfontdir xorg-mkfontscale cabextract name=xorg-font-msttcorefonts -version=1.3 +version=1.4 release=1 -source=(http://www.cabextract.org.uk/cabextract-1.2.tar.gz \ - http://download.sourceforge.net/corefonts/andale32.exe \ - http://download.sourceforge.net/corefonts/arial32.exe \ - http://download.sourceforge.net/corefonts/arialb32.exe \ - http://download.sourceforge.net/corefonts/comic32.exe \ - http://download.sourceforge.net/corefonts/courie32.exe \ - http://download.sourceforge.net/corefonts/georgi32.exe \ - http://download.sourceforge.net/corefonts/impact32.exe \ - http://download.sourceforge.net/corefonts/times32.exe \ - http://download.sourceforge.net/corefonts/trebuc32.exe \ - http://download.sourceforge.net/corefonts/verdan32.exe \ - http://download.sourceforge.net/corefonts/wd97vwr32.exe \ - http://download.sourceforge.net/corefonts/webdin32.exe) +source=(http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/comic32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/courie32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/georgi32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/impact32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/times32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/trebuc32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/verdan32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/wd97vwr32.exe + http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe) build() { - (cd cabextract-1.2 && ./configure && make) - for font in *.exe - do - cabextract-1.2/cabextract --lowercase $font + # Despite the files saying 32, this port will work on any arch + local font + + for font in *.exe; do + cabextract --lowercase $font done - cabextract-1.2/cabextract --lowercase viewer1.cab - mkdir -p $PKG/usr/lib/X11/fonts/msttcorefonts - install -o root -g root -m 0644 *.ttf \ - $PKG/usr/lib/X11/fonts/msttcorefonts/ + + cabextract --lowercase viewer1.cab + install -d $PKG/usr/lib/X11/fonts/msttcorefonts + + install -o root -g root -m 0644 \ + -t $PKG/usr/lib/X11/fonts/msttcorefonts/ *.ttf } -- cgit v1.2.3