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

Allan McRae allan at archlinux.org
Sun Feb 21 02:18:55 UTC 2010


    Date: Saturday, February 20, 2010 @ 21:18:55
  Author: allan
Revision: 69557

upgpkg: ttf-khmer 5.0-2
rebuild to remove .FILELIST, tidy up PKGBUILD, convert to arch=any, remove old install file syntax

Modified:
  ttf-khmer/trunk/PKGBUILD
  ttf-khmer/trunk/ttf.install

-------------+
 PKGBUILD    |   21 +++++++++++----------
 ttf.install |    5 -----
 2 files changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-21 02:09:43 UTC (rev 69556)
+++ PKGBUILD	2010-02-21 02:18:55 UTC (rev 69557)
@@ -1,21 +1,22 @@
 # $Id$
-# COntributor: Damir Perisa <damir.perisa at bluewin.ch>
 # Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=ttf-khmer
 pkgver=5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="TTFont collection for Khmer (Cambodia)"
-arch=(any)
+arch=('any')
+license=('LGPL')
 url="http://www.khmeros.info/drupal/?q=en/download/fonts"
-depends=("xorg-fonts-encodings" "xorg-fonts-alias" "xorg-font-utils" "fontconfig")
+depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
 install=ttf.install
-license=('LGPL')
-source=("http://downloads.sourceforge.net/sourceforge/khmer/All_KhmerOS_${pkgver}.zip")
+source=(http://downloads.sourceforge.net/sourceforge/khmer/All_KhmerOS_${pkgver}.zip")
+md5sums=('dc1ddeb526ccbc06603da880d1e89e7b')
 
 build() {
-  cd ${startdir}/src/All_KhmerOS_${pkgver}
-  mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
-  install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
+  cd ${srcdir}/All_KhmerOS_${pkgver}
+  install -dm755 ${pkgdir}/usr/share/fonts/TTF
+  install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
 }
-md5sums=('dc1ddeb526ccbc06603da880d1e89e7b')
+

Modified: ttf.install
===================================================================
--- ttf.install	2010-02-21 02:09:43 UTC (rev 69556)
+++ ttf.install	2010-02-21 02:18:55 UTC (rev 69557)
@@ -13,8 +13,3 @@
 post_remove() {
   post_install $1
 }
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list