diff options
Diffstat (limited to 'development/eric/eric.SlackBuild')
-rw-r--r-- | development/eric/eric.SlackBuild | 16 |
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 |