aboutsummaryrefslogtreecommitdiff
path: root/network/amsn/amsn.SlackBuild
diff options
context:
space:
mode:
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 81cba04d9eb2..d57cfdd6316a 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' Åkerström
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 {} \;