aboutsummaryrefslogtreecommitdiff
path: root/development/eric/eric.SlackBuild
diff options
context:
space:
mode:
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 662e60fbd79a..ce4f5778c5ae 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}
+