diff options
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} - |