summaryrefslogtreecommitdiffstats
path: root/development/liquibase
diff options
context:
space:
mode:
Diffstat (limited to 'development/liquibase')
-rw-r--r--development/liquibase/README8
-rw-r--r--development/liquibase/liquibase.SlackBuild16
-rw-r--r--development/liquibase/liquibase.info2
3 files changed, 18 insertions, 8 deletions
diff --git a/development/liquibase/README b/development/liquibase/README
index 17e3ccaf38..39cbdf75d8 100644
--- a/development/liquibase/README
+++ b/development/liquibase/README
@@ -1,9 +1,9 @@
Liquibase - source control for your database
-Liquibase is an open source database-independent library for tracking, managing
-and applying database schema changes.
+Liquibase is an open source database-independent library for tracking,
+managing and applying database schema changes.
-See README.SLACKWARE for information on how to make JDBC drivers available to
-liquibase.
+See README.SLACKWARE for information on how to make JDBC drivers
+available to liquibase.
This requires a Java runtime (jdk or JRE) to run.
diff --git a/development/liquibase/liquibase.SlackBuild b/development/liquibase/liquibase.SlackBuild
index 7af0834211..046e91fc95 100644
--- a/development/liquibase/liquibase.SlackBuild
+++ b/development/liquibase/liquibase.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liquibase
@@ -28,14 +28,24 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liquibase
VERSION=${VERSION:-3.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-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}
@@ -76,4 +86,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/liquibase/liquibase.info b/development/liquibase/liquibase.info
index 527b557e4b..22e33b576e 100644
--- a/development/liquibase/liquibase.info
+++ b/development/liquibase/liquibase.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/liquibase/liquibase/releases/download/liquibase-par
MD5SUM="90a3a731e64f2174fcfd0f1e91132c24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"