summaryrefslogtreecommitdiff
path: root/development/eric/eric.SlackBuild
diff options
context:
space:
mode:
authorRudson Alves <alves@rra.etc.br>2010-04-08 17:42:49 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:26:21 +0200
commit3e0ff8a9e1ee55564884a41e12c54ef2d5830e22 (patch)
tree7e843367ec0f3ec34969f4d369f3793e0555bcc4 /development/eric/eric.SlackBuild
parent966d49843a7d82c661e580965e810496eb9636b9 (diff)
downloadslackbuilds-3e0ff8a9e1ee55564884a41e12c54ef2d5830e22.tar.gz
development/eric: Updated for version 4.4.3.
Diffstat (limited to 'development/eric/eric.SlackBuild')
-rw-r--r--development/eric/eric.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/development/eric/eric.SlackBuild b/development/eric/eric.SlackBuild
index fb7e9344bd..3a3d300233 100644
--- a/development/eric/eric.SlackBuild
+++ b/development/eric/eric.SlackBuild
@@ -20,9 +20,11 @@
# 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.0
+VERSION=4.4.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +45,7 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-set -e # Exit on most errors.
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -63,12 +65,12 @@ python install.py -i $PKG -b /usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.GPL3 README-i18n.txt changelog README THANKS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-ERICDESK=$PKG/usr/share/applications/eric4.desktop
-mkdir -p `dirname $ERICDESK`
-cat $CWD/eric4.desktop > $ERICDESK
-[ "$ARCH" == "x86_64" ] && sed 's/lib/lib64/' -i $ERICDESK
+mkdir -p $PKG/usr/share/applications
+sed s/lib/lib${LIBDIRSUFFIX}/ $CWD/eric4.desktop \
+ > $PKG/usr/share/applications/eric4.desktop
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc