diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2011-07-07 22:21:10 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-07 22:21:10 -0300 |
commit | 46d3bc7d5c43dbaa02e82e1ae190e1574847e6c6 (patch) | |
tree | 776589f430fb7c1efb2a06a6232e3d456eb7bf18 /development/fpc/fpc.SlackBuild | |
parent | 36d6013c738d3d96235a25345471a4dddedeeab9 (diff) |
development/fpc: Updated for version 2.4.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 858756f41fde..dfc7f29238a3 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 |