[arch-commits] Commit in ttf-junicode/trunk (PKGBUILD ttf.install)

François Charette francois at archlinux.org
Mon Jun 8 08:06:57 EDT 2009


    Date: Monday, June 8, 2009 @ 08:06:56
  Author: francois
Revision: 41936

upgpkg: ttf-junicode 0.6.16-1
    update to 0.6.16; use fc-cache -s in ttf.install

Modified:
  ttf-junicode/trunk/PKGBUILD
  ttf-junicode/trunk/ttf.install

-------------+
 PKGBUILD    |   19 ++++++++++++-------
 ttf.install |    2 +-
 2 files changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-08 10:25:53 UTC (rev 41935)
+++ PKGBUILD	2009-06-08 12:06:56 UTC (rev 41936)
@@ -1,8 +1,9 @@
 # $Id$
-# Maintainer : Damir Perisa <damir.perisa at bluewin.ch>
+# Maintainer: Firmicus <francois.archlinux.org>
 
 pkgname=ttf-junicode
-pkgver=0.6.15
+pkgver=0.6.16
+_realver=0-6-16
 pkgrel=1
 pkgdesc="Junius-Unicode TTFont - for medieval latin scripts"
 arch=(i686 x86_64)
@@ -10,13 +11,17 @@
 url="http://www.engl.virginia.edu/OE/junicode/junicode.html"
 depends=("xorg-fonts-encodings" "xorg-fonts-alias" "xorg-font-utils" "fontconfig")
 makedepends=(unzip)
+options=(docs)
 install=ttf.install
-source=("http://downloads.sourceforge.net/sourceforge/junicode/junicode-$pkgver.zip")
-md5sums=('bc06b4c10737bc83a782356ae7574699')
+source=("http://downloads.sourceforge.net/sourceforge/junicode/junicode-${_realver}.zip")
+md5sums=('673d20c5fc99edd50887ae9c4ac5e1e7')
 
 build() {
-  cd ${startdir}/src
-  mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
-  install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF
+  cd $srcdir/junicode
+  mkdir -p $pkgdir/usr/share/fonts/TTF
+  mkdir -p $pkgdir/usr/share/doc/$pkgname
+  install -m644 fonts/*.ttf $pkgdir/usr/share/fonts/TTF
+  install -m644 doc/* $pkgdir/usr/share/doc/$pkgname
+  rm -f $pkgdir/usr/share/doc/License*
 }
 

Modified: ttf.install
===================================================================
--- ttf.install	2009-06-08 10:25:53 UTC (rev 41935)
+++ ttf.install	2009-06-08 12:06:56 UTC (rev 41936)
@@ -1,6 +1,6 @@
 post_install() {
   echo -n "Updating font cache... "
-  fc-cache -f > /dev/null
+  fc-cache -s -f > /dev/null
   mkfontscale /usr/share/fonts/TTF
   mkfontdir /usr/share/fonts/TTF
   echo "done."



More information about the arch-commits mailing list