From 9af437f055eb9cdb20952268ab64eba2f9e835f2 Mon Sep 17 00:00:00 2001 From: Fridrich von Stauffenberg Date: Sun, 22 Apr 2012 19:39:59 -0500 Subject: development/fpc: Fix pdf doc locations Signed-off-by: Robby Workman --- development/fpc/fpc.SlackBuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'development/fpc/fpc.SlackBuild') diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild index 228f03fd7beda..0ab594653f6c5 100644 --- a/development/fpc/fpc.SlackBuild +++ b/development/fpc/fpc.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=fpc VERSION=${SRCVER:-2.6.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -94,13 +94,7 @@ fi # copy docs mv $PKG/usr/share/doc $PKG/usr/doc rmdir $PKG/usr/share -# No idea why, but the pdf docs are in different places depending on arch -if [ "$ARCH" = "x86_64" ]; then - mv $TMP/$PRGNAM-$VERSION/docs/doc/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION -else - mv $TMP/$PRGNAM-$VERSION/docs/share/doc/fpdocs-$VERSION/*.pdf \ - $PKG/usr/doc/$PRGNAM-$VERSION/ -fi +mv $TMP/$PRGNAM-$VERSION/docs/doc/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -type d -name '.svn' | xargs rm -rf -- cgit v1.2.3