diff options
Diffstat (limited to 'perl/perl-Gnome2-Vte')
-rw-r--r-- | perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild | 16 | ||||
-rw-r--r-- | perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild index bfce70973e..b9f4250725 100644 --- a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild +++ b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Gnome2-Vte @@ -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=perl-Gnome2-Vte VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,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} @@ -99,4 +109,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/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info index fa37b200d5..380bea7850 100644 --- a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info +++ b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gnome2-Vte-0.11.tar.gz" MD5SUM="1cb5cdfcd41873e55e923e72e64d922c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-glib perl-gtk2 perl-extutils-depends perl-extutils-pkgconfig" +REQUIRES="perl-gtk2 vte2" MAINTAINER="Antonio Taverna" EMAIL="antonio.tvr@gmail.com" |