diff options
author | Grissiom <chaos.proton@gmail.com> | 2011-03-05 08:31:42 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-05 08:31:42 -0300 |
commit | 86323318d97a797b78641f37fb25d7606a9412c6 (patch) | |
tree | b6dca58a202be53ab4836d04e24515f389f81c8e /network/mldonkey/mldonkey.SlackBuild | |
parent | 72839e7e6c1de515f492d2ad7db3c1077a07a75e (diff) |
network/mldonkey: Updated for version 3.0.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/mldonkey/mldonkey.SlackBuild')
-rw-r--r-- | network/mldonkey/mldonkey.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild index 5fd5d6aee5f1..65ad47be5c52 100644 --- a/network/mldonkey/mldonkey.SlackBuild +++ b/network/mldonkey/mldonkey.SlackBuild @@ -26,25 +26,23 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mldonkey -VERSION=3.0.5 +VERSION=3.0.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} - GUIOPT=${GUIOPT:-no} if [ "$ARCH" = "i486" ]; then @@ -116,7 +114,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh +[ "$GUIOPT" = "yes" ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |