summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/amsn/amsn.SlackBuild16
-rw-r--r--network/amsn/amsn.info12
-rw-r--r--network/amsn/doinst.sh4
-rw-r--r--network/amsn/slack-desc20
4 files changed, 23 insertions, 29 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' Å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 {} \;
diff --git a/network/amsn/amsn.info b/network/amsn/amsn.info
index bf3f3222ea..1583c5cfe4 100644
--- a/network/amsn/amsn.info
+++ b/network/amsn/amsn.info
@@ -1,8 +1,8 @@
PRGNAM="amsn"
-VERSION="0.96"
+VERSION="0.97.2"
HOMEPAGE="http://amsn-project.net/"
-DOWNLOAD="http://dl.sourceforge.net/amsn/amsn-0.96.tar.bz2"
-MD5SUM="3df6b0d34ef1997a47c0b8af29b2547a"
-MAINTAINER="Marc-Andre Moreau"
-EMAIL="aghaster@hotmail.com"
-APPROVED="alien"
+DOWNLOAD="http://downloads.sourceforge.net/amsn/amsn-0.97.2.tar.bz2"
+MD5SUM="6c494d97b5ab810f1b265ef19bf652b0"
+MAINTAINER="Niklas 'Nille' Åkerström"
+EMAIL="nille.kungen [at] gmail dot com"
+APPROVED="David Somero" \ No newline at end of file
diff --git a/network/amsn/doinst.sh b/network/amsn/doinst.sh
index 3412314ed0..19913c991b 100644
--- a/network/amsn/doinst.sh
+++ b/network/amsn/doinst.sh
@@ -1,5 +1,5 @@
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
fi
diff --git a/network/amsn/slack-desc b/network/amsn/slack-desc
index f7ac769412..e752259530 100644
--- a/network/amsn/slack-desc
+++ b/network/amsn/slack-desc
@@ -6,15 +6,15 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-amsn: aMSN (Alvaro's Messenger)
-amsn:
+amsn: aMSN (Alvaro's Messenger)
+amsn:
amsn: aMSN is a clone of Microsoft's MSN Messenger, written in TCL/TK.
-amsn:
-amsn: http://amsn-project.net/
-amsn:
-amsn:
-amsn:
-amsn:
-amsn:
-amsn:
+amsn:
+amsn: http://amsn-project.net/
+amsn:
+amsn:
+amsn:
+amsn:
+amsn:
+amsn: