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

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


    Date: Sunday, May 3, 2009 @ 20:22:11
  Author: eric
Revision: 37842

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

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r37841 | eric | 2009-05-03 20:21:50 -0400 (Sun, 03 May 2009) | 2 lines
  
  upgpkg: ttf-indic-otf 0.2-4
      Added license, Fixed install scriptlet, Removed provides and conflicts array
........

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

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


Property changes on: ttf-indic-otf/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /ttf-indic-otf/trunk:1
   + /ttf-indic-otf/trunk:1-37841

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-04 00:21:50 UTC (rev 37841)
+++ extra-x86_64/PKGBUILD	2009-05-04 00:22:11 UTC (rev 37842)
@@ -2,21 +2,19 @@
 # Maintainer : Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=ttf-indic-otf
-provides=('ttf-freebanglafont')
-conflicts=('ttf-freebanglafont')
 pkgver=0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Indic Opentype Fonts collection"
 arch=(i686 x86_64)
 url="http://www.indlinux.org/wiki/index.php/Downloads"
+license=('GPL')
 depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
 install=ttf.install
 source=(http://www.indlinux.org/downloads/files/indic-otf-0.2.tar.gz)
 md5sums=('d50bb65a39d78608be3560f38f003d21')
 
 build() {
-  cd ${startdir}/src/indic/OpenType
-  mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
-  install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
-
+  cd ${srcdir}/indic/OpenType
+  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:21:50 UTC (rev 37841)
+++ extra-x86_64/ttf.install	2009-05-04 00:22:11 UTC (rev 37842)
@@ -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