aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2011-07-10 23:56:55 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 19:51:01 -0300
commitf33f13fee3bfbd76abe1013fcb59ec39e8bf57aa (patch)
treee837489fa90f6b4ab2775e0d3e001c68fb9be8c5 /audio
parent5a3d8719ef5fa933e33162138338618053606e2e (diff)
audio/jack_capture: Fix permissions of .desktop and icons.
Thanks to XGizzmo for spotting this. Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/jack_capture/jack_capture.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/jack_capture/jack_capture.SlackBuild b/audio/jack_capture/jack_capture.SlackBuild
index 955cc2665bef3..c163dfa582a4d 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