milis/talimatname/genel/ttf-ms-fonts/talimat

27 lines
791 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Core TTF Fonts from Microsoft
# URL: URL: http://corefonts.sourceforge.net
# Packager: pierre^ at nutyx dot org
# Depends on: xorg-libx11 xorg-fontconfig libarchive p7zip
_sfpath="http://downloads.sourceforge.net/corefonts"
name=ttf-ms-fonts
version=2.0
release=1
source=($_sfpath/andale32.exe $_sfpath/arial32.exe $_sfpath/arialb32.exe
$_sfpath/comic32.exe $_sfpath/courie32.exe $_sfpath/georgi32.exe
$_sfpath/impact32.exe $_sfpath/times32.exe $_sfpath/trebuc32.exe
$_sfpath/verdan32.exe $_sfpath/webdin32.exe )
build() {
for i in *.exe; do
7z e -y $i;
done
install -dm755 "$PKG/usr/share/fonts/TTF"
for font in *.{ttf,TTF}; do
install -m644 $font $PKG/usr/share/fonts/TTF/$(echo $font|tr A-Z a-z)
done
}