Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7555ed51b66a67920d8a4d080241409e4a1f7ce1

commit 7555ed51b66a67920d8a4d080241409e4a1f7ce1
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun Jun 22 19:28:51 2008 +0200

tetex-3.0-14-x86_64
* rebuilt with openmotif>=2.3.0
* added some missing Fdie's ( btw this FB is weird )
* closes FS#3008

diff --git a/source/xapps-extra/tetex/FrugalBuild 
b/source/xapps-extra/tetex/FrugalBuild
index bfb1fd4..37b91ba 100644
--- a/source/xapps-extra/tetex/FrugalBuild
+++ b/source/xapps-extra/tetex/FrugalBuild
@@ -4,10 +4,10 @@

pkgname=tetex
pkgver=3.0
-pkgrel=13
+pkgrel=14
pkgdesc="teTeX is a complete TeX distribution for UNIX compatible systems - 
base files, librarys, fonts"
url="http://www.tug.org/teTeX/";
-depends=('libstdc++' 'libxp' 'libxmu' 'libxft' 'libxpm' 'freetype2' 
'fontconfig' 'expat' 'openmotif' 'zlib' 'libpng' 'tetex-kpathsea')
+depends=('libstdc++' 'libxp' 'libxmu' 'libxft' 'libxpm' 'freetype2' 
'fontconfig' 'expat' 'openmotif>=2.3.0' 'zlib' 'libpng' 'tetex-kpathsea')
makedepends=('bison' 'flex' 'ncurses')
groups=('xapps-extra')
archs=('i686' 'x86_64')
@@ -29,23 +29,23 @@ NOEXTRACT=1 # important, src not tared as a single directory

build() {
[ "$CARCH" == "x86_64" ] && CFLAGS="$CFLAGS -fPIC -DPIC"
-       cd $startdir/src
-       mkdir texmf
+       cd $Fsrcdir || Fdie
+       mkdir texmf || Fdie
tar xzf tetex-texmf-$pkgver.tar.gz -C ./texmf
-       rm -f $startdir/src/tetex-texmf-$pkgver.tar.gz
-       install -d $startdir/pkg/usr/share/texmf
-       cd texmf
-       mv doc/latex/general/lshort.pdf $startdir/src/
-       rm -rf doc/*
+       rm -fv $startdir/src/tetex-texmf-$pkgver.tar.gz || Fdie
+       install -d $startdir/pkg/usr/share/texmf || Fdie
+       cd texmf || Fdie
+       mv doc/latex/general/lshort.pdf $startdir/src/ || Fdie
+       rm -rf doc/* || Fdie
cat << EOF >doc/README.frugalware
The contents of the doc directory is removed to tetex-docs package, what is
availabe in xbit's repository:
http://wiki.frugalware.org/DRs
EOF
-       mv $startdir/src/lshort.pdf doc/
-       mv `ls` $startdir/pkg/usr/share/texmf
-       cd ..
-       rmdir texmf
+       mv $startdir/src/lshort.pdf doc/ || Fdie
+       mv `ls` $startdir/pkg/usr/share/texmf || Fdie
+       cd .. || Fdie
+       rmdir texmf || Fdie

###SRC
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to