development/eric: Updated for version 4.5.6.

And fixed installation paths.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-14 17:10:11 +02:00
parent 7384eca0ed
commit cf9a9da952
2 changed files with 10 additions and 9 deletions

View file

@ -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}

View file

@ -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"