diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-05-11 22:21:37 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 22:21:37 +0200 |
commit | 4331156c527126d26aa63518b8a9a482b8d9b3a2 (patch) | |
tree | 5a393f0f369d5db4e89cbc715cec8112f2285088 /desktop/CurseTheWeather/CurseTheWeather.SlackBuild | |
parent | 034abc812bc41622b75b82ed0f6ac99fa7fa0895 (diff) |
desktop/CurseTheWeather: Updated for version 0.4
Diffstat (limited to 'desktop/CurseTheWeather/CurseTheWeather.SlackBuild')
-rw-r--r-- | desktop/CurseTheWeather/CurseTheWeather.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild index 2820875b76025..3da1ad340b0e1 100644 --- a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild +++ b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild @@ -22,11 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuils.org project. +# Modified by the SlackBuilds.org project. PRGNAM=CurseTheWeather -VERSION=0.3 -ARCH=${ARCH:-i486} +VERSION=0.4 +ARCH=i486 # This does nothing for the software BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -34,12 +34,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -47,8 +49,8 @@ python setup.py install --prefix $PKG/usr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild zcat GPL.gz > $PKG/usr/doc/$PRGNAM-$VERSION/GPL +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |