Date: Friday, November 20, 2009 @ 01:54:18 Author: allan Revision: 59109
upgpkg: xpdf-greek 20030728-4 rebuild to get rid of .FILELIST, convert to arch=any Modified: xpdf-greek/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2009-11-20 06:53:55 UTC (rev 59108) +++ PKGBUILD 2009-11-20 06:54:18 UTC (rev 59109) @@ -4,9 +4,9 @@ pkgname=xpdf-greek pkgver=20030728 -pkgrel=3 +pkgrel=4 pkgdesc="Adds support for Greek fonts to xpdf" -arch=('i686' 'x86_64') +arch=('any') url="http://www.foolabs.com/xpdf/" license=('GPL2') depends=('xpdf') @@ -15,15 +15,13 @@ md5sums=('dacacda02b84b1184235a5fab072fbd8') 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 - # relocate language specific files + cd $srcdir/$pkgname + install -dm755 $pkgdir/usr/share/xpdf + install -m644 -t $pkgdir/usr/share/xpdf *.unicodeMap + + # relocate language specific files sed -i 's|/usr/local/share/xpdf/greek|/usr/share/xpdf|' add-to-xpdfrc - # X-Fonts are no longer supported by xpdf + # X-Fonts are no longer supported by xpdf sed -i 's|^displayCIDFontX.*$||' add-to-xpdfrc - install -Dm 644 add-to-xpdfrc $startdir/pkg/etc/xpdf/$pkgname + install -Dm 644 add-to-xpdfrc $pkgdir/etc/xpdf/$pkgname }