aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-14 17:10:11 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-14 17:10:37 +0200
commitcf9a9da95295c080f740002a9ca31a5c67842f1c (patch)
tree74ed7d92984a54b89b458293ff4b536b888a8c89 /development
parent7384eca0ed5ebc7e5b41d05a2e560d69cfd7322a (diff)
development/eric: Updated for version 4.5.6.
And fixed installation paths. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/eric/eric.SlackBuild9
-rw-r--r--development/eric/eric.info10
2 files changed, 10 insertions, 9 deletions
diff --git a/development/eric/eric.SlackBuild b/development/eric/eric.SlackBuild
index ce4f5778c5aea..06c122cd2cb5f 100644
--- a/development/eric/eric.SlackBuild
+++ b/development/eric/eric.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=eric
-VERSION=${VERSION:-4.5.4}
+VERSION=${VERSION:-4.5.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,8 @@ else
LIBDIRSUFFIX=""
fi
+PYTHONSITEPKG=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
+
set -e
rm -rf $PKG
@@ -72,7 +74,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python install.py -i $PKG -b /usr/bin
+python install.py -i $PKG -d "$PYTHONSITEPKG" -b /usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.GPL3 README-i18n.txt changelog README THANKS \
@@ -82,7 +84,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications
sed s/lib/lib${LIBDIRSUFFIX}/ $CWD/eric4.desktop \
> $PKG/usr/share/applications/eric4.desktop
-cp $CWD/eric4.png /$PKG/usr/lib$LIBDIRSUFFIX/python2.6/site-packages/eric4/pixmaps/
+cp $CWD/eric4.png $PKG$PYTHONSITEPKG/eric4/pixmaps/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -90,4 +92,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
diff --git a/development/eric/eric.info b/development/eric/eric.info
index 347544954b157..97f94ca9e47f2 100644
--- a/development/eric/eric.info
+++ b/development/eric/eric.info
@@ -1,11 +1,11 @@
PRGNAM="eric"
-VERSION="4.5.4"
+VERSION="4.5.6"
HOMEPAGE="http://eric-ide.python-projects.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/eric-ide/eric4/stable/4.5.4/eric4-4.5.4.tar.gz \
- http://downloads.sourceforge.net/project/eric-ide/eric4/stable/4.5.4/eric4-i18n-en-4.5.4.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/eric-ide/eric4-4.5.6.tar.gz \
+ http://downloads.sourceforge.net/eric-ide/eric4-i18n-en-4.5.6.tar.gz"
+MD5SUM="8ea7e189838aabe0d05aa7ea3d5300ec \
+ 503d28aa1474dea34a08f2731219392d"
DOWNLOAD_x86_64=""
-MD5SUM="7c9f1555cc58e7fb128a5c7b11889dc6 \
- e4f07b90426f6404956cd87b7462da91"
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Rudson Alves"