From f33f13fee3bfbd76abe1013fcb59ec39e8bf57aa Mon Sep 17 00:00:00 2001 From: Michales Michaloudes Date: Sun, 10 Jul 2011 23:56:55 -0300 Subject: audio/jack_capture: Fix permissions of .desktop and icons. Thanks to XGizzmo for spotting this. Signed-off-by: Niels Horn --- audio/jack_capture/jack_capture.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'audio') diff --git a/audio/jack_capture/jack_capture.SlackBuild b/audio/jack_capture/jack_capture.SlackBuild index 955cc2665b..c163dfa582 100644 --- a/audio/jack_capture/jack_capture.SlackBuild +++ b/audio/jack_capture/jack_capture.SlackBuild @@ -56,8 +56,6 @@ sed -i -e 's+/usr/local+/usr+g' Makefile # compile flags correction sed -i -e "s/OPTIMIZE=-O3.*/OPTIMIZE=${SLKCFLAGS}/g" Makefile -#CFLAGS="$SLKCFLAGS" \ -#CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG @@ -73,9 +71,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # cp KDE desktop icon mkdir -p $PKG/usr/share/applications -mkdir -p $PKG/usr/share/$PRGNAM\_gui2 -cp -a $CWD/${PRGNAM}_gui2.desktop $PKG/usr/share/applications -cp -a $CWD/$PRGNAM*.xpm $PKG/usr/share/${PRGNAM}_gui2/ +cat $CWD/${PRGNAM}_gui2.desktop > $PKG/usr/share/applications/${PRGNAM}_gui2.desktop +mkdir -p $PKG/usr/share/${PRGNAM}_gui2 +install -m0644 -oroot $CWD/$PRGNAM*.xpm $PKG/usr/share/${PRGNAM}_gui2/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3