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

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


    Date: Sunday, May 3, 2009 @ 20:35:13
  Author: eric
Revision: 37849

upgpkg: ttf-ubraille 001.000-4
    Added license, Fixed install scriptlet

Modified:
  ttf-ubraille/trunk/PKGBUILD
  ttf-ubraille/trunk/ttf.install
Deleted:
  ttf-ubraille/trunk/COPYING

-------------+
 COPYING     |    2 --
 PKGBUILD    |   22 +++++++---------------
 ttf.install |    9 ++-------
 3 files changed, 9 insertions(+), 24 deletions(-)

Deleted: COPYING
===================================================================
--- COPYING	2009-05-04 00:32:21 UTC (rev 37848)
+++ COPYING	2009-05-04 00:35:13 UTC (rev 37849)
@@ -1,2 +0,0 @@
-Copyright: Created by Vyacheslav Dikonov with PfaEdit 1.0 
-(http://pfaedit.sf.net). Free to use and distribute.

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-04 00:32:21 UTC (rev 37848)
+++ PKGBUILD	2009-05-04 00:35:13 UTC (rev 37849)
@@ -2,26 +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" \
-	'COPYING')
-license=('custom')
-md5sums=('4a8b8d06a4d6955a5c7319ce8440970c'
-         '0a976d41860903d352d26b629f42ade7')
+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/
-
-  # install custom license
-install -Dm644 $srcdir/COPYING \
-	$pkgdir/usr/share/licenses/$pkgname/COPYING
+  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: ttf.install
===================================================================
--- ttf.install	2009-05-04 00:32:21 UTC (rev 37848)
+++ ttf.install	2009-05-04 00:35:13 UTC (rev 37849)
@@ -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