2006-02-23 15:26:10 +00:00
|
|
|
# URL: http://corefonts.sourceforge.net/
|
|
|
|
# Description: Microsoft's Web Fonts (truetype)
|
2012-06-09 12:18:39 +10:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-02-05 14:04:47 +11:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
2012-08-21 23:32:23 +10:00
|
|
|
# Depends on: fontconfig xorg-mkfontdir xorg-mkfontscale cabextract
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2007-11-09 22:48:24 -06:00
|
|
|
name=xorg-font-msttcorefonts
|
2012-06-09 12:18:39 +10:00
|
|
|
version=1.4
|
2012-08-21 23:32:23 +10:00
|
|
|
release=2
|
2012-06-09 12:18:39 +10:00
|
|
|
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)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2012-06-09 12:18:39 +10:00
|
|
|
# Despite the files saying 32, this port will work on any arch
|
|
|
|
local font
|
|
|
|
|
|
|
|
for font in *.exe; do
|
|
|
|
cabextract --lowercase $font
|
2006-02-23 15:26:10 +00:00
|
|
|
done
|
2012-06-09 12:18:39 +10:00
|
|
|
|
|
|
|
cabextract --lowercase viewer1.cab
|
2012-08-21 23:32:23 +10:00
|
|
|
install -d $PKG/usr/share/fonts/X11/TTF
|
2012-06-09 12:18:39 +10:00
|
|
|
|
|
|
|
install -o root -g root -m 0644 \
|
2012-08-21 23:32:23 +10:00
|
|
|
-t $PKG/usr/share/fonts/X11/TTF *.ttf
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|