summaryrefslogtreecommitdiff
path: root/development/gambas3/gambas3.SlackBuild
diff options
context:
space:
mode:
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 \