audio/jack_capture: Fix permissions of .desktop and icons.

Thanks to XGizzmo for spotting this.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Michales Michaloudes 2011-07-10 23:56:55 -03:00 committed by Niels Horn
parent 5a3d8719ef
commit f33f13fee3

View file

@ -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