summaryrefslogtreecommitdiffstats
path: root/development/geany
diff options
context:
space:
mode:
Diffstat (limited to 'development/geany')
-rw-r--r--development/geany/geany.SlackBuild20
-rw-r--r--development/geany/geany.info6
2 files changed, 18 insertions, 8 deletions
diff --git a/development/geany/geany.SlackBuild b/development/geany/geany.SlackBuild
index a2e1deee07..5b3ff803f7 100644
--- a/development/geany/geany.SlackBuild
+++ b/development/geany/geany.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Geany
@@ -30,10 +30,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geany
-VERSION=${VERSION:-1.34.1}
+VERSION=${VERSION:-1.36.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +46,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,7 +100,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
- --disable-html-docs \
+ --enable-gtk3 \
--build=$ARCH-slackware-linux
make
@@ -120,4 +130,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/geany/geany.info b/development/geany/geany.info
index ec46e04d62..cc772da644 100644
--- a/development/geany/geany.info
+++ b/development/geany/geany.info
@@ -1,8 +1,8 @@
PRGNAM="geany"
-VERSION="1.34.1"
+VERSION="1.36.0"
HOMEPAGE="https://www.geany.org/"
-DOWNLOAD="https://github.com/geany/geany/archive/1.34.1/geany-1.34.1.tar.gz"
-MD5SUM="d36ad44844c8721f2ef9b5398260de3b"
+DOWNLOAD="https://github.com/geany/geany/archive/1.36.0/geany-1.36.0.tar.gz"
+MD5SUM="dece8f7b7e8c42c8a6724b10809c6d5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""