summaryrefslogtreecommitdiff
path: root/xorg-font-msttcorefonts/Pkgfile
blob: 9b939bc18e933ae077aedcdf1b2bea847c1e7140 (plain)
    1 # URL: http://corefonts.sourceforge.net/
    2 # Description: Microsoft's Web Fonts (truetype)
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: fontconfig xorg-mkfontscale cabextract
    5 
    6 name=xorg-font-msttcorefonts
    7 version=1.4
    8 release=2
    9 source=(http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe
   10 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe
   11 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe
   12 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/comic32.exe
   13 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/courie32.exe
   14 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/georgi32.exe
   15 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/impact32.exe
   16 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/times32.exe
   17 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/trebuc32.exe
   18 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/verdan32.exe
   19 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/wd97vwr32.exe
   20 	http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe)
   21 
   22 build() {
   23 	# Despite the files saying 32, this port will work on any arch
   24 	local font
   25 
   26 	for font in *.exe; do
   27 		cabextract --lowercase $font
   28 	done
   29 
   30 	cabextract --lowercase viewer1.cab
   31 	install -d $PKG/usr/share/fonts/X11/TTF
   32 
   33 	install -o root -g root -m 0644 \
   34 		-t $PKG/usr/share/fonts/X11/TTF *.ttf
   35 }

Generated by cgit