summaryrefslogtreecommitdiff
path: root/development/eric/eric.SlackBuild
diff options
context:
space:
mode:
authorRudson Alves <alves@rra.etc.br>2012-07-10 09:27:34 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-07-10 09:27:34 -0400
commit55c4ee3f4623400884697044d53434a574f2dfa3 (patch)
tree1e8f1361dfc8515d544eec66affb15ee630f885d /development/eric/eric.SlackBuild
parent8df8dd7d570c697a96e64763d9d136429118770c (diff)
downloadslackbuilds-55c4ee3f4623400884697044d53434a574f2dfa3.tar.gz
development/eric: Updated for version 4.5.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/eric/eric.SlackBuild')
-rw-r--r--development/eric/eric.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/eric/eric.SlackBuild b/development/eric/eric.SlackBuild
index 662e60fbd7..ce4f5778c5 100644
--- a/development/eric/eric.SlackBuild
+++ b/development/eric/eric.SlackBuild
@@ -20,20 +20,18 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Modified by the SlackBuilds.org project.
PRGNAM=eric
-VERSION=4.4.8
+VERSION=${VERSION:-4.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+LANGUAGE=${LANGUAGE:-en}
+
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
@@ -63,7 +61,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}4-$VERSION
-tar -xzvf $CWD/${PRGNAM}4-$VERSION.tar.gz
+tar -xvf $CWD/${PRGNAM}4-$VERSION.tar.gz
+tar -xvf $CWD/${PRGNAM}4-i18n-${LANGUAGE}-$VERSION.tar.gz
cd ${PRGNAM}4-$VERSION
chown -R root:root .
@@ -83,6 +82,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/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -90,3 +90,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+