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

Eric Bélanger eric at archlinux.org
Mon May 4 00:35:32 UTC 2009


    Date: Sunday, May 3, 2009 @ 20:35:31
  Author: eric
Revision: 37850

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

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r4651 | ronald | 2008-07-08 04:37:28 -0400 (Tue, 08 Jul 2008) | 1 line
  
  fix license
........
  r37849 | eric | 2009-05-03 20:35:13 -0400 (Sun, 03 May 2009) | 2 lines
  
  upgpkg: ttf-ubraille 001.000-4
      Added license, Fixed install scriptlet
........

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

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


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

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-04 00:35:13 UTC (rev 37849)
+++ extra-x86_64/PKGBUILD	2009-05-04 00:35:31 UTC (rev 37850)
@@ -2,19 +2,18 @@
 # Maintainer : Damir Perisa <damir.perisa at bluewin.ch>
 pkgname=ttf-ubraille
 pkgver=001.000
-pkgrel=3
+pkgrel=4
 pkgdesc="Unicode TTFonts for braille"
 arch=(i686 x86_64)
 url="http://yudit.org/download/fonts/UBraille/"
+license=('GPL')
 depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
 install=ttf.install
 source=("http://yudit.org/download/fonts/UBraille/UBraille.ttf")
 md5sums=('4a8b8d06a4d6955a5c7319ce8440970c')
 
 build() {
-  cd ${startdir}/src
-  mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
-  install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
+  cd ${srcdir}
+  install -d ${pkgdir}/usr/share/fonts/TTF
+  install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
 }
-
-# http://www.travelphrases.info/gallery/Fonts_Braille.html

Modified: extra-x86_64/ttf.install
===================================================================
--- extra-x86_64/ttf.install	2009-05-04 00:35:13 UTC (rev 37849)
+++ extra-x86_64/ttf.install	2009-05-04 00:35:31 UTC (rev 37850)
@@ -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