summaryrefslogtreecommitdiff
path: root/development/fpc
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2011-07-07 22:21:10 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-07 22:21:10 -0300
commit46d3bc7d5c43dbaa02e82e1ae190e1574847e6c6 (patch)
tree776589f430fb7c1efb2a06a6232e3d456eb7bf18 /development/fpc
parent36d6013c738d3d96235a25345471a4dddedeeab9 (diff)
downloadslackbuilds-46d3bc7d5c43dbaa02e82e1ae190e1574847e6c6.tar.gz
development/fpc: Updated for version 2.4.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/fpc')
-rw-r--r--development/fpc/fpc.SlackBuild12
-rw-r--r--development/fpc/fpc.info12
2 files changed, 8 insertions, 16 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
diff --git a/development/fpc/fpc.info b/development/fpc/fpc.info
index a9869c7e54..d4e6d3e38e 100644
--- a/development/fpc/fpc.info
+++ b/development/fpc/fpc.info
@@ -1,10 +1,10 @@
PRGNAM="fpc"
-VERSION="2.4.0"
+VERSION="2.4.4"
HOMEPAGE="http://www.freepascal.org/"
-DOWNLOAD="http://downloads.sourceforge.net/freepascal/fpc-2.4.0.i386-linux.tar"
-MD5SUM="5f38071d4bc560425f08905c14c1a68c"
-DOWNLOAD_x86_64="http://downloads.sourceforge.net/freepascal/fpc-2.4.0.x86_64-linux.tar"
-MD5SUM_x86_64="80fc3434f2d2af25af8c5e4dcf98723b"
+DOWNLOAD="http://downloads.sourceforge.net/freepascal/fpc-2.4.4.i386-linux.tar"
+MD5SUM="e761c4866ac4c8fcbe09f657f315ec32"
+DOWNLOAD_x86_64="http://downloads.sourceforge.net/freepascal/fpc-2.4.4.x86_64-linux.tar"
+MD5SUM_x86_64="058e6cd765026748a2bd24c86f1ecf18"
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"
-APPROVED="rworkman"
+APPROVED="Niels Horn"