From 3998ba5a5e3d3276ad989a98820d6d84b97691a7 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 8 Aug 2006 17:05:07 +0000 Subject: pine update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@21 370017ae-e619-0410-ac65-c121f96126d4 --- patches/pine/pine.SlackBuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'patches/pine') 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 -- cgit v1.2.3