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

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


    Date: Sunday, May 3, 2009 @ 20:17:41
  Author: eric
Revision: 37840

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

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r37839 | eric | 2009-05-03 20:17:24 -0400 (Sun, 03 May 2009) | 2 lines
  
  upgpkg: ttf-freebanglafont 0.5-6
      Added license, Fixed install scriptlet
........

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

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


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

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-04 00:17:24 UTC (rev 37839)
+++ extra-x86_64/PKGBUILD	2009-05-04 00:17:41 UTC (rev 37840)
@@ -3,19 +3,19 @@
 
 pkgname=ttf-freebanglafont
 pkgver=0.5
-pkgrel=5
+pkgrel=6
 pkgdesc="TTFonts for Bangla (Bengali)"
 arch=(i686 x86_64)
 url="http://www.bengalinux.org/downloads/"
-url2="http://www.omicronlab.com/avrokeyboard/bangla-fonts/"
+license=('GPL2')
 depends=(xorg-fonts-encodings xorg-font-utils fontconfig)
 makedepends=(unzip)
 install=ttf.install
-source=(http://www.omicronlab.com/avrokeyboard/bangla-fonts/all_bangla_fonts.zip)
+source=(ftp://ftp.archlinux.org/other/ttf-freebanglafont/all_bangla_fonts.zip)
 md5sums=('8bc4064da62a3ea9e26d12e0301032d5')
 
 build() {
-  cd ${startdir}/src/
-  mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
-  install *.ttf ${startdir}/pkg/usr/share/fonts/TTF
+  cd ${srcdir}
+  install -d ${pkgdir}/usr/share/fonts/TTF
+  install *.ttf ${pkgdir}/usr/share/fonts/TTF
 }

Modified: extra-x86_64/ttf.install
===================================================================
--- extra-x86_64/ttf.install	2009-05-04 00:17:24 UTC (rev 37839)
+++ extra-x86_64/ttf.install	2009-05-04 00:17:41 UTC (rev 37840)
@@ -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