diff options
Diffstat (limited to 'network/amsn/amsn.SlackBuild')
-rw-r--r-- | network/amsn/amsn.SlackBuild | 13 |
1 files changed, 1 insertions, 12 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 \ |