diff options
Diffstat (limited to 'development/fpc/fpc.SlackBuild')
-rw-r--r-- | development/fpc/fpc.SlackBuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild index 858756f41f..dfc7f29238 100644 --- a/development/fpc/fpc.SlackBuild +++ b/development/fpc/fpc.SlackBuild @@ -24,16 +24,14 @@ # Modified by the SlackBuilds.org project. PRGNAM=fpc -VERSION=${SRCVER:-2.4.0} +VERSION=${SRCVER:-2.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -96,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 |