[arch-commits] Commit in ttf-cheapskate/repos (3 files)

Eric Bélanger eric at archlinux.org
Sun May 3 20:04:33 EDT 2009


    Date: Sunday, May 3, 2009 @ 20:04:33
  Author: eric
Revision: 37836

Merged revisions 356,37835 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/ttf-cheapskate/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r37835 | eric | 2009-05-03 20:04:14 -0400 (Sun, 03 May 2009) | 2 lines
  
  upgpkg: ttf-cheapskate 2.0-6
      Added license, Fixed install scriptlet, Moved source to local ftp
........

Modified:
  ttf-cheapskate/repos/extra-x86_64/	(properties)
  ttf-cheapskate/repos/extra-x86_64/PKGBUILD
  ttf-cheapskate/repos/extra-x86_64/ttf.install

-------------+
 PKGBUILD    |   35 ++++++++++-------------------------
 ttf.install |    9 ++-------
 2 files changed, 12 insertions(+), 32 deletions(-)


Property changes on: ttf-cheapskate/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /ttf-cheapskate/trunk:1
   + /ttf-cheapskate/trunk:1-37835

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-04 00:04:14 UTC (rev 37835)
+++ extra-x86_64/PKGBUILD	2009-05-04 00:04:33 UTC (rev 37836)
@@ -2,37 +2,22 @@
 # Maintainer : Damir Perisa <damir.perisa at bluewin.ch>
 pkgname=ttf-cheapskate
 pkgver=2.0
-pkgrel=5
+pkgrel=6
 pkgdesc="TTFonts collection from dustimo.com"
 arch=(i686 x86_64)
 url="http://dustismo.com/"
+license=('GPL')
 depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
 makedepends=(unzip)
 install=ttf.install
-source=(http://www.dustismo.com/fonts/Domestic_Manners.zip
-        http://www.dustismo.com/fonts/PenguinAttack.tgz
-        http://www.dustismo.com/fonts/Dustismo.tgz
-        http://www.dustismo.com/fonts/El_Abogado_Loco.zip
-        http://www.dustismo.com/fonts/Progenisis.zip
-        http://www.dustismo.com/fonts/flatline.zip
-        http://www.dustismo.com/fonts/MarkedFool.zip
-        http://www.dustismo.com/fonts/Junkyard.zip
-        http://www.dustismo.com/fonts/ItWasntMe.zip
-        http://www.dustismo.com/fonts/balker.zip
-        http://www.dustismo.com/fonts/Swift.zip
-        http://www.dustismo.com/fonts/Wargames.zip
-        http://www.dustismo.com/fonts/Winks.zip
-        http://www.dustismo.com/fonts/Domestic_Manners.zip)
-md5sums=('3f5d0178f3b9f9bbabd697090f89c3b9' 'c17ae1d47f8f90e676dda0855da07fe4'\
-         'b4176e3c8c9083a0a8afe38e94d6c763' 'a76dcaff5af2d92668d7b2f20d44a644'\
-         '57096a1974b4bf33cd1e9beb951e205b' '104c2d8783ec7689bdddc0683b9321fd'\
-         'bf678fc9e281eeb57e62c2fb5223ce2c' '1285f1274ee1630b60946df8eb894ad9'\
-         'f6f2e5b2aaa9f87dbce1b81d7808dcff' '6faef32e5a6372e2c31a6c16da6a14f5'\
-         'b588d221c4925c463025d6a493fc814a' '6e2a2583f79b512579587b441a25694f'\
-         'd0bb2c842b19a563287da590662e7f30' '3f5d0178f3b9f9bbabd697090f89c3b9')
+source=(ftp://ftp.archlinux.org/other/ttf-cheapskate/ttf-dustin_20030517.orig.tar.gz)
+md5sums=('cb130e89d7cf0723550ccb432de3d0ef')
 
 build() {
-  cd $startdir/src
-  mkdir -p $startdir/pkg/usr/share/fonts/TTF
-  install -m644 *.ttf $startdir/pkg/usr/share/fonts/TTF/
+  cd $srcdir/ttf-dustin-20030517
+  for file in *.zip; do
+    unzip -o $file
+  done
+  install -d $pkgdir/usr/share/fonts/TTF
+  install -m644 *.ttf $pkgdir/usr/share/fonts/TTF/
 }

Modified: extra-x86_64/ttf.install
===================================================================
--- extra-x86_64/ttf.install	2009-05-04 00:04:14 UTC (rev 37835)
+++ extra-x86_64/ttf.install	2009-05-04 00:04:33 UTC (rev 37836)
@@ -1,8 +1,8 @@
 post_install() {
   echo -n "Updating font cache... "
   fc-cache -f > /dev/null
-  mkfontscale /usr/share/fonts/TTF
-  mkfontdir /usr/share/fonts/TTF
+  mkfontscale usr/share/fonts/TTF
+  mkfontdir usr/share/fonts/TTF
   echo "done."
 }
 
@@ -13,8 +13,3 @@
 post_remove() {
   post_install $1
 }
-
-op=$1
-shift
-
-$op $*



More information about the arch-commits mailing list