summaryrefslogtreecommitdiffstats
path: root/network/amsn/amsn.SlackBuild
diff options
context:
space:
mode:
author Niklas Nille Åkerström <nille.kungen [at] gmail dot com>2010-05-11 22:25:03 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-11 22:25:03 +0200
commite824dca2ba1530d4e65e58795e78dee6ceffd075 (patch)
treec64491e7378e30a9718bf5742ea86a770049f22e /network/amsn/amsn.SlackBuild
parentb465ff7e9aff5f81dbff0a0cfb7aa695c46cdabb (diff)
downloadslackbuilds-e824dca2ba1530d4e65e58795e78dee6ceffd075.tar.gz
slackbuilds-e824dca2ba1530d4e65e58795e78dee6ceffd075.tar.xz
network/amsn: Updated for version 0.97.2
Diffstat (limited to 'network/amsn/amsn.SlackBuild')
-rw-r--r--network/amsn/amsn.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/network/amsn/amsn.SlackBuild b/network/amsn/amsn.SlackBuild
index 81cba04d9e..d57cfdd631 100644
--- a/network/amsn/amsn.SlackBuild
+++ b/network/amsn/amsn.SlackBuild
@@ -4,12 +4,14 @@
# Written by Marc-Andre Moreau <aghaster@hotmail.com>
# Modified by the SlackBuilds.org project
+# Modified for Version upgrade by Niklas 'Nille' kerstrm
PRGNAM=amsn
-VERSION=0.96
+VERSION=0.97.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -40,21 +42,13 @@ CFLAGS="$SLKCFLAGS" \
|| exit 1
make || exit 1
-
-# aMSN's Makefile does not use the DESTDIR variable
-# Instead, it uses dstdir and slnkdir.
-
-# Tweak the Makefile a little bit in order to get our symlinks to point
-# to a different path than where the files are being copied.
-sed -i 's|ln -sf $(dstdir)/$(PACKAGE)|ln -sf $(DESTDIR)/$(PACKAGE)|' Makefile \
+make install DESTDIR=$PKG \
|| exit 1
-make install dstdir=$PKG/usr/share slnkdir=$PKG/usr/bin DESTDIR=/usr/share \
- || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AGREEMENT CREDITS FAQ GNUGPL HELP INSTALL README TODO \
+cp -a AGREEMENT ChangeLog CREDITS FAQ GNUGPL HELP INSTALL README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;