[arch-commits] Commit in xpdf-japanese (repos/extra-i686 trunk/PKGBUILD)

Allan McRae allan at archlinux.org
Fri Nov 20 01:59:17 EST 2009


    Date: Friday, November 20, 2009 @ 01:59:17
  Author: allan
Revision: 59117

Merged revisions 356 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/xpdf-japanese/trunk

........
  r356 | aaron | 2008-04-19 08:56:27 +1000 (Sat, 19 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........

Modified:
  xpdf-japanese/repos/extra-i686/	(properties)
  xpdf-japanese/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)


Property changes on: xpdf-japanese/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /xpdf-japanese/trunk:1
   + /xpdf-japanese/trunk:1-59116

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2009-11-20 06:56:21 UTC (rev 59116)
+++ trunk/PKGBUILD	2009-11-20 06:59:17 UTC (rev 59117)
@@ -4,9 +4,9 @@
 
 pkgname=xpdf-japanese
 pkgver=20040727
-pkgrel=3
+pkgrel=4
 pkgdesc="Adds support for Japanese fonts to xpdf"
-arch=('i686' 'x86_64')
+arch=('any')
 url="http://www.foolabs.com/xpdf/"
 license=('GPL2' 'custom')
 depends=('xpdf')
@@ -15,12 +15,11 @@
 md5sums=('a11ee6476d0f381983664fc614f7a95e' '80107f7a1cb3e6c7f2cbd1875a57b430')
 
 build() {
-  _xpdfextdir=$startdir/pkg/usr/share/xpdf
-  cd $startdir/src/$pkgname
- # copy files to the desired dir, we set /usr/share/xpdf
-  mkdir -p $_xpdfextdir
-  cp -R * $_xpdfextdir
-  rm -f $_xpdfextdir/README $_xpdfextdir/add-to-xpdfrc
+  cd $srcdir/$pkgname
+  install -dm755 $pkgdir/usr/share/xpdf/CMap
+  install -m644 -t $pkgdir/usr/share/xpdf *.unicodeMap
+  install -m644 -t $pkgdir/usr/share/xpdf/CMap CMap/*
+
  # relocate language specific files
   sed -i 's|/usr/local/share/xpdf/japanese|/usr/share/xpdf|' add-to-xpdfrc
  # X-Fonts are no longer supported by xpdf
@@ -39,6 +38,6 @@
 
 END_OF_RC_TWEAK
 
-  install -Dm 644 add-to-xpdfrc $startdir/pkg/etc/xpdf/$pkgname
-  install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 add-to-xpdfrc $pkgdir/etc/xpdf/$pkgname
+  install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list