# Maintainer: Frédéric Galusik # old packager: Luis Henrique pkgname=webcore-fonts pkgver=3.0 pkgrel=2fg arch=noarch source=("http://avi.alkalay.net/software/webcore-fonts/$pkgname-$pkgver.tar.gz" "25-noautohint-corefonts.conf" "35-webcore-fonts.conf") sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver #docs=() url=http://avi.alkalay.net/linux/docs/font-howto/Font.html#msfonts slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Webcore Fonts (Microsoft's core fonts for the web)" "The Webcore Fonts include:" "* Microsoft's Core Fonts for the web" "* Microsoft Tahoma" "* Microsoft's fonts for Windows Vista" "* Lucida Console" ) doinst() { fc-cache } build() { cd $SRC/$pkgname # Install fonts mkdir -p $PKG/usr/share/fonts/TTF cp -a fonts/* $PKG/usr/share/fonts/TTF cp -a vista/* $PKG/usr/share/fonts/TTF # Install fontconfig rules install -Dm 644 $SRC/35-webcore-fonts.conf $PKG/etc/fonts/conf.avail/35-webcore-fonts.conf install -Dm 644 $SRC/25-noautohint-corefonts.conf $PKG/etc/fonts/conf.avail/25-noautohint-corefonts.conf # Install documentation mkdir -p $PKG/usr/doc/$pkgname-$pkgver/html cp doc/* $PKG/usr/doc/$pkgname-$pkgver/html # fix rights chown -R root:root $PKG }