summaryrefslogtreecommitdiff
path: root/development/fpc
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-04-22 19:39:59 -0500
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:39:46 -0500
commit9af437f055eb9cdb20952268ab64eba2f9e835f2 (patch)
treea299a51da342c0999acfb9aef8ad3f693cff943c /development/fpc
parent6baa5a675570e615a56652344cda348d1f21e8d5 (diff)
downloadslackbuilds-9af437f055eb9cdb20952268ab64eba2f9e835f2.tar.gz
development/fpc: Fix pdf doc locations
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/fpc')
-rw-r--r--development/fpc/fpc.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild
index 228f03fd7b..0ab594653f 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