[Frugalware-git] wipv: asciidoc-8.5.3-2-i686 *fixed fonts dir

bouleetbil bouleetbil at frogdev.info
Tue Sep 14 19:00:15 CEST 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=7a7542ed657f4f1baf0b0f6e7c3ae86269ea5225

commit 7a7542ed657f4f1baf0b0f6e7c3ae86269ea5225
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Fri Jul 30 00:54:10 2010 +0200

asciidoc-8.5.3-2-i686
*fixed fonts dir

diff --git a/source/apps-extra/asciidoc/FrugalBuild b/source/apps-extra/asciidoc/FrugalBuild
index 05cf28d..9218a2f 100644
--- a/source/apps-extra/asciidoc/FrugalBuild
+++ b/source/apps-extra/asciidoc/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=asciidoc
pkgver=8.5.3
-pkgrel=1
+pkgrel=2
pkgdesc="AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages."
Finclude sourceforge
url="http://www.methods.co.nz/asciidoc/"
@@ -27,6 +27,6 @@ build() {
Fmv /usr/share/doc/asciidoc{,-$pkgver}
Ffilerel /$_F_python_libdir/asciidocapi.py
# install the mathml fonts
-	Fmkdir /usr/lib/X11/fonts/TTF
-	Ffile asciidoc-fonts-0.1/*.ttf /usr/lib/X11/fonts/TTF
+	Fmkdir /usr/share/fonts/X11/TTF
+	Ffile asciidoc-fonts-0.1/*.ttf /usr/share/fonts/X11/TTF
}
diff --git a/source/apps-extra/asciidoc/asciidoc.install b/source/apps-extra/asciidoc/asciidoc.install
index 035b1b8..10b5224 100644
--- a/source/apps-extra/asciidoc/asciidoc.install
+++ b/source/apps-extra/asciidoc/asciidoc.install
@@ -2,8 +2,8 @@ post_install()
{
if [ -e /usr/bin/mkfontscale -a -e /usr/bin/mkfontdir -a -e /usr/bin/fc-cache ]; then
echo -n "updating fonts cache..."
-		mkfontscale /usr/lib/X11/fonts/TTF
-		mkfontdir /usr/lib/X11/fonts/TTF
+		mkfontscale /usr/share/fonts/X11/TTF
+		mkfontdir /usr/share/fonts/X11/TTF
/usr/bin/fc-cache --force --system-only
echo "done."
fi


More information about the Frugalware-git mailing list