diff options
Diffstat (limited to 'academic/archaeopteryx/archaeopteryx.SlackBuild')
-rw-r--r-- | academic/archaeopteryx/archaeopteryx.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/academic/archaeopteryx/archaeopteryx.SlackBuild b/academic/archaeopteryx/archaeopteryx.SlackBuild index 68a1d82ef96a..61b5da5a144f 100644 --- a/academic/archaeopteryx/archaeopteryx.SlackBuild +++ b/academic/archaeopteryx/archaeopteryx.SlackBuild @@ -28,11 +28,20 @@ PRGNAM=archaeopteryx VERSION=${VERSION:-0.9928b} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=forester SRCVER=1050 ARCH=noarch +# 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} @@ -62,4 +71,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 |