mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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:
parent
5a3d8719ef
commit
f33f13fee3
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue