summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/amsn/amsn.SlackBuild13
-rw-r--r--network/amsn/slack-desc12
2 files changed, 11 insertions, 14 deletions
diff --git a/network/amsn/amsn.SlackBuild b/network/amsn/amsn.SlackBuild
index fdf4703c91..81cba04d9e 100644
--- a/network/amsn/amsn.SlackBuild
+++ b/network/amsn/amsn.SlackBuild
@@ -10,7 +10,7 @@ VERSION=0.96
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -29,7 +29,6 @@ rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP || exit 1
tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -53,16 +52,6 @@ sed -i 's|ln -sf $(dstdir)/$(PACKAGE)|ln -sf $(DESTDIR)/$(PACKAGE)|' Makefile \
make install dstdir=$PKG/usr/share slnkdir=$PKG/usr/bin DESTDIR=/usr/share \
|| exit 1
-# For some reason, two amsn.desktop files are created during the
-# installation setup. Also, the icon path given in the amsn.desktop
-# file is a relative path, so we change it to a full path.
-sed -i 's|Icon=msn.png|Icon=/usr/share/icons/hicolor/48x48/msn.png|' \
- $PKG/usr/share/applications/amsn.desktop || exit 1
-
-sed -i 's|Icon=msn.png|Icon=/usr/share/icons/hicolor/48x48/msn.png|' \
- $PKG/usr/share/amsn/amsn.desktop || exit 1
-
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AGREEMENT CREDITS FAQ GNUGPL HELP INSTALL README TODO \
diff --git a/network/amsn/slack-desc b/network/amsn/slack-desc
index cc968d02a6..f7ac769412 100644
--- a/network/amsn/slack-desc
+++ b/network/amsn/slack-desc
@@ -1,5 +1,13 @@
-amsn: aMSN - Alvaro's Messenger
-amsn:
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+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/