summaryrefslogtreecommitdiffstats
path: root/development/GitEye
diff options
context:
space:
mode:
Diffstat (limited to 'development/GitEye')
-rw-r--r--development/GitEye/GitEye.SlackBuild16
-rw-r--r--development/GitEye/GitEye.info2
-rw-r--r--development/GitEye/README8
3 files changed, 18 insertions, 8 deletions
diff --git a/development/GitEye/GitEye.SlackBuild b/development/GitEye/GitEye.SlackBuild
index 544dbb4783..88db9cdba0 100644
--- a/development/GitEye/GitEye.SlackBuild
+++ b/development/GitEye/GitEye.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GitEye
@@ -22,10 +22,13 @@
# 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="GitEye"
VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,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}
@@ -82,4 +92,4 @@ cd $PKG/usr/bin
ln -s /usr/share/$PRGNAM/$PRGNAM $PRGNAM
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/GitEye/GitEye.info b/development/GitEye/GitEye.info
index 40bd1871ac..3e2f6fdea9 100644
--- a/development/GitEye/GitEye.info
+++ b/development/GitEye/GitEye.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads-guests.open.collab.net/files/documents/61/12535/GitE
MD5SUM="02909e014f13dd29127887b02dbad1eb"
DOWNLOAD_x86_64="https://downloads-guests.open.collab.net/files/documents/61/12536/GitEye-1.12.0-linux.x86_64.zip"
MD5SUM_x86_64="ecff81dcaee493852ea66a105948af13"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Antonio Taverna"
EMAIL="antonio.tvr@gmail.com"
diff --git a/development/GitEye/README b/development/GitEye/README
index 001c6bf70c..2545b1fb2c 100644
--- a/development/GitEye/README
+++ b/development/GitEye/README
@@ -1,4 +1,4 @@
-GitEye is a graphical Git client for Windows, Linux and OSX. It supports
-any Git repository and server. Specific support for GitHub, TeamForge
-and CloudForge is included, but any server can be used as GitEye supports
-all Git protocols.
+GitEye is a graphical Git client for Windows, Linux and OSX. It
+supports any Git repository and server. Specific support for GitHub,
+TeamForge and CloudForge is included, but any server can be used as
+GitEye supports all Git protocols.