summaryrefslogtreecommitdiff
path: root/xorg-font-msttcorefonts/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2012-06-09 12:18:39 +1000
committerDanny Rawlins <monster.romster@gmail.com>2012-06-09 12:18:54 +1000
commit565a328843f2ece3c8793f1bbf745700d88cc908 (patch)
tree6894a10bd7dcda444bfdc4c259a472b9f9934b02 /xorg-font-msttcorefonts/Pkgfile
parentb40d7690bc35ef19dd96291c75d6e2cf12a97ce1 (diff)
downloadopt-565a328843f2ece3c8793f1bbf745700d88cc908.tar.gz
opt-565a328843f2ece3c8793f1bbf745700d88cc908.tar.xz
xorg-font-msttcorefonts: picked up orphand port
Diffstat (limited to 'xorg-font-msttcorefonts/Pkgfile')
-rw-r--r--xorg-font-msttcorefonts/Pkgfile51
1 files changed, 27 insertions, 24 deletions
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
}

Generated by cgit