From 711a24f9dabbe8952c3e0fb73dbd0de7950992e4 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 7 Sep 2006 16:47:46 +0000 Subject: nicotine small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@153 370017ae-e619-0410-ac65-c121f96126d4 --- nicotine/nicotine.SlackBuild | 32 ++++++++++++++++++++++++++++++++ nicotine/nicotine.SlackBuild.old | 32 -------------------------------- 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100755 nicotine/nicotine.SlackBuild delete mode 100644 nicotine/nicotine.SlackBuild.old diff --git a/nicotine/nicotine.SlackBuild b/nicotine/nicotine.SlackBuild new file mode 100755 index 00000000..40bbd72f --- /dev/null +++ b/nicotine/nicotine.SlackBuild @@ -0,0 +1,32 @@ +#!/bin/bash +# +# SlackBuild script to call nicotine.build with correct settings +# + +CWD="`pwd`" + +if [ -f "/etc/slackbuildrc" ]; then + source /etc/slackbuildrc +fi + +if [ -f "~/.slackbuildrc" ]; then + source ~/.slackbuildrc +fi + +# default settings +PACKAGE="nicotine" +VERSION=${VERSION:=1.2.4.1} +ARCH="noarch" +BUILD=${BUILD:=1rha} +SRC_DIR=${SRC:=$CWD} +TMP=${TMP:=/tmp} +REPOS=${REPOS:=$TMP} + +rm -rf $TMP/$PACKAGE +mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS + +slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" + +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP/$PACKAGE +fi diff --git a/nicotine/nicotine.SlackBuild.old b/nicotine/nicotine.SlackBuild.old deleted file mode 100644 index 40bbd72f..00000000 --- a/nicotine/nicotine.SlackBuild.old +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# -# SlackBuild script to call nicotine.build with correct settings -# - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -# default settings -PACKAGE="nicotine" -VERSION=${VERSION:=1.2.4.1} -ARCH="noarch" -BUILD=${BUILD:=1rha} -SRC_DIR=${SRC:=$CWD} -TMP=${TMP:=/tmp} -REPOS=${REPOS:=$TMP} - -rm -rf $TMP/$PACKAGE -mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS - -slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" - -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP/$PACKAGE -fi -- cgit v1.2.3