diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-14 17:10:11 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-14 17:10:37 +0200 |
commit | cf9a9da95295c080f740002a9ca31a5c67842f1c (patch) | |
tree | 74ed7d92984a54b89b458293ff4b536b888a8c89 /development/eric/eric.SlackBuild | |
parent | 7384eca0ed5ebc7e5b41d05a2e560d69cfd7322a (diff) | |
download | slackbuilds-cf9a9da95295c080f740002a9ca31a5c67842f1c.tar.gz |
development/eric: Updated for version 4.5.6.
And fixed installation paths.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/eric/eric.SlackBuild')
-rw-r--r-- | development/eric/eric.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/development/eric/eric.SlackBuild b/development/eric/eric.SlackBuild index ce4f5778c5..06c122cd2c 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} - |