summaryrefslogtreecommitdiff
path: root/xorg-font-msttcorefonts/Pkgfile
blob: 4571cf00fefa6d25e752ddf8d7db19b7be8fe5aa (plain)
    1 # URL: http://corefonts.sourceforge.net/
    2 # Description: Microsoft's Web Fonts (truetype)
    3 # Maintainer: Matt Housh, jaeger at morpheus dot net
    4 # Depends on: xorg-mkfontdir, xorg-mkfontscale
    5 
    6 name=xorg-font-msttcorefonts
    7 version=1.3
    8 release=1
    9 source=(http://www.cabextract.org.uk/cabextract-1.2.tar.gz \
   10 	http://dl.sourceforge.net/sourceforge/corefonts/andale32.exe \
   11 	http://dl.sourceforge.net/sourceforge/corefonts/arial32.exe \
   12 	http://dl.sourceforge.net/sourceforge/corefonts/arialb32.exe \
   13 	http://dl.sourceforge.net/sourceforge/corefonts/comic32.exe \
   14 	http://dl.sourceforge.net/sourceforge/corefonts/courie32.exe \
   15 	http://dl.sourceforge.net/sourceforge/corefonts/georgi32.exe \
   16 	http://dl.sourceforge.net/sourceforge/corefonts/impact32.exe \
   17 	http://dl.sourceforge.net/sourceforge/corefonts/times32.exe \
   18 	http://dl.sourceforge.net/sourceforge/corefonts/trebuc32.exe \
   19 	http://dl.sourceforge.net/sourceforge/corefonts/verdan32.exe \
   20 	http://dl.sourceforge.net/sourceforge/corefonts/wd97vwr32.exe \
   21 	http://dl.sourceforge.net/sourceforge/corefonts/webdin32.exe)
   22 
   23 build() {
   24 	(cd cabextract-1.2 && ./configure && make)
   25 	for font in *.exe
   26 	do
   27 		cabextract-1.2/cabextract --lowercase $font
   28 	done
   29 	cabextract-1.2/cabextract --lowercase viewer1.cab
   30 	mkdir -p $PKG/usr/lib/X11/fonts/msttcorefonts
   31 	install -o root -g root -m 0644 *.ttf \
   32 		$PKG/usr/lib/X11/fonts/msttcorefonts/
   33 }

Generated by cgit