Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c52a645a8a4098dfeafe84061c35e785867d39fc
commit c52a645a8a4098dfeafe84061c35e785867d39fc Author: Devil505 <[EMAIL PROTECTED]> Date: Sat Oct 18 09:09:09 2008 +0200 liberation-fonts-1.04-1-i686 * new package diff --git a/source/xlib-extra/liberation-fonts/FrugalBuild b/source/xlib-extra/liberation-fonts/FrugalBuild new file mode 100644 index 0000000..d55d321 --- /dev/null +++ b/source/xlib-extra/liberation-fonts/FrugalBuild @@ -0,0 +1,24 @@ +# Compiling Time: 0 SBU +# Maintainer: Devil505 <[EMAIL PROTECTED]> + +pkgname=liberation-fonts +pkgver=1.04 +pkgrel=1 +pkgdesc="Red Hat Liberation fonts" +url="https://www.redhat.com/promo/fonts/" +depends=('fontconfig' 'freetype2') +groups=('xlib-extra') +archs=('i686' 'x86_64') +install=liberation-fonts.install +up2date=$pkgver +#up2date="elinks -dump https://fedorahosted.org/releases/l/i/liberation-fonts/ | Flasttar" +#i will uncomment it until devel version comes stable +source=(https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-$pkgver.tar.gz) +sha1sums=('097882c92e3260742a3dc3bf033792120d8635a3') + +build() { + Fcd + Fmkdir usr/share/fonts/TTF/ + Finstallrel 644 *.ttf usr/share/fonts/TTF/ +} + diff --git a/source/xlib-extra/liberation-fonts/liberation-fonts.install b/source/xlib-extra/liberation-fonts/liberation-fonts.install new file mode 100644 index 0000000..0a1d547 --- /dev/null +++ b/source/xlib-extra/liberation-fonts/liberation-fonts.install @@ -0,0 +1,27 @@ +post_install() +{ + echo -n "updating fonts cache..." + mkfontscale /usr/lib/X11/fonts/TTF + mkfontdir /usr/lib/X11/fonts/TTF + /usr/bin/fc-cache --force --system-only + echo "done." +} + +post_upgrade() +{ + post_install +} + + +post_remove() +{ + post_install +} + +op=$1 +shift + +$op $* + +# vim: ft=sh + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
