aboutsummaryrefslogtreecommitdiff
path: root/patches/pine
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-08 17:05:07 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-08 17:05:07 +0000
commit3998ba5a5e3d3276ad989a98820d6d84b97691a7 (patch)
treec7a0994bb47af42057a1a28f7acde998a1494081 /patches/pine
parent41d86e13a311e8f613d0c9fa086278c1455b0aee (diff)
downloadslackbuilds-3998ba5a5e3d3276ad989a98820d6d84b97691a7.tar.gz
slackbuilds-3998ba5a5e3d3276ad989a98820d6d84b97691a7.tar.bz2
pine update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@21 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches/pine')
-rwxr-xr-xpatches/pine/pine.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/patches/pine/pine.SlackBuild b/patches/pine/pine.SlackBuild
index ee292f99..68e0af6b 100755
--- a/patches/pine/pine.SlackBuild
+++ b/patches/pine/pine.SlackBuild
@@ -16,6 +16,7 @@ if [ -f "~/.slackbuildrc" ]; then
source ~/.slackbuildrc
fi
+PACKAGE="pine"
VERSION=${VERSION:=4.64}
PINEPGP=${PINEPGP:=0.18.0}
ARCH=${ARCH:=x86_64}
@@ -24,6 +25,11 @@ IMAPDBUILD=${BUILD:=1rha}
TMP=${TMP:=/tmp}
SRC_DIR=${SRC:=$CWD}
+REPOS=${REPOS:=$TMP}
+
+TMP="$TMP/$PACKAGE"
+rm -rf $TMP
+mkdir -p $TMP
PKG1=$TMP/package-pine
PKG2=$TMP/package-imapd
@@ -34,6 +40,9 @@ URL="ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/pine/$S
PGP="pinepgp-$PINEPGP.tar.gz"
PGP_URL="ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/pine/$PGP"
+SRC_DIR="$SRC_DIR/$PACKAGE"
+mkdir -p $SRC_DIR
+
if [ "$RTOOL" == "wget" ]; then
if [ ! -f "$SRC_DIR/$SRC" ]; then
@@ -135,9 +144,9 @@ chmod 644 $PKG1/usr/doc/pinepgp-$PINEPGP/*
# Build the package:
cd $PKG1
-makepkg -l y -c n $TMP/pine-$VERSION-$ARCH-$PINEBUILD.tgz
+makepkg -l y -c n $REPOS/pine-$VERSION-$ARCH-$PINEBUILD.tgz
cd $PKG2
-makepkg -l y -c n $TMP/imapd-$VERSION-$ARCH-$IMAPDBUILD.tgz
+makepkg -l y -c n $REPOS/imapd-$VERSION-$ARCH-$IMAPDBUILD.tgz
# Clean up the extra stuff:
if [ "$1" = "--cleanup" ]; then