summaryrefslogtreecommitdiff
path: root/development/gambas3/gambas3.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-08-11 00:25:55 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-11 11:42:11 -0500
commit9415f99f7e15bc44c616460a080fc1c1f5643118 (patch)
tree4ca6e447a0c5b4820cbec91090f22f4917a9899d /development/gambas3/gambas3.SlackBuild
parentac7e1b5020873710b7ae873a2dd84f67101b46f8 (diff)
downloadslackbuilds-9415f99f7e15bc44c616460a080fc1c1f5643118.tar.gz
development/gambas3: Updated for version 3.2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/gambas3/gambas3.SlackBuild')
-rw-r--r--development/gambas3/gambas3.SlackBuild28
1 files changed, 12 insertions, 16 deletions
diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild
index c78f97baee..708df22b33 100644
--- a/development/gambas3/gambas3.SlackBuild
+++ b/development/gambas3/gambas3.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Slackware build script for Gambas
+# Slackware build script for Gambas 3
# Copyright 2012 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gambas3
-VERSION=${VERSION:-3.1.1}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,30 +73,26 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --enable-media=no
make -j1
-make install-strip DESTDIR=$PKG
+make install-strip DESTDIR=$PKG XDG_UTILS=""
mkdir -p $PKG/usr/share/icons/hicolor/{scalable/apps,48x48/apps,64x64/mimetypes}
-cp -a app/desktop/$PRGNAM.svg \
- $PKG/usr/share/icons/hicolor/scalable/apps
-cp -a app/desktop/$PRGNAM.png \
- $PKG/usr/share/icons/hicolor/48x48/apps
+cp -a app/desktop/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps
+cp -a app/desktop/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps
cp -a app/mime/application-x-${SHORT_PRGNAM}{script,serverpage}.png \
$PKG/usr/share/icons/hicolor/64x64/mimetypes
cp -a main/mime/application-x-$PRGNAM.png \
$PKG/usr/share/icons/hicolor/64x64/mimetypes
-mkdir -p $PKG/usr/share/{applications,mime/application}
-cp -a app/desktop/$PRGNAM.desktop \
- $PKG/usr/share/applications
-cp -a app/mime/application-x-${SHORT_PRGNAM}script.xml \
- $PKG/usr/share/mime/application/x-${SHORT_PRGNAM}script.xml
-cp -a app/mime/application-x-${SHORT_PRGNAM}serverpage.xml \
- $PKG/usr/share/mime/application/x-${SHORT_PRGNAM}serverpage.xml
+mkdir -p $PKG/usr/share/{applications,mime/packages}
+cp -a app/desktop/$PRGNAM.desktop $PKG/usr/share/applications
+cp -a app/mime/application-x-${SHORT_PRGNAM}{script,serverpage}.xml \
+ $PKG/usr/share/mime/packages
cp -a main/mime/application-x-$PRGNAM.xml \
- $PKG/usr/share/mime/application/x-$PRGNAM.xml
+ $PKG/usr/share/mime/packages
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \