mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/xcdroast: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
209302f4b4
commit
9cc7a7b22e
3 changed files with 12 additions and 6 deletions
|
@ -4,3 +4,6 @@ X-CD-Roast tries to be the most flexible CD and DVD burning software
|
|||
ever. It allows even the unexperienced user to create or copy a CD or a
|
||||
DVD with a few mouse clicks in a intuitive and nice looking graphical
|
||||
user interface.
|
||||
|
||||
Note:
|
||||
Upon start, you may need to manually specify your device, e.g /dev/sr0
|
||||
|
|
|
@ -27,12 +27,13 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Revision date: 2020/Nov/22
|
||||
# A few fixes: 2023/Sep/24; Petar Petrov
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=xcdroast
|
||||
VERSION=${VERSION:-1.19}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -102,9 +103,7 @@ make XCDRLIB_PREFIX=/usr/lib${LIBDIRSUFFIX}/$PRGNAM install DESTDIR=$PKG
|
|||
|
||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||
cat $CWD/xcdroast.desktop > $PKG/usr/share/applications/xcdroast.desktop
|
||||
( cd $PKG/usr/share/pixmaps
|
||||
ln -s ../../lib${LIBDIRSUFFIX}/xcdroast/icons/xcdricon.png xcdroast.png
|
||||
)
|
||||
cp xpms/ico_cdwriter.xpm $PKG/usr/share/pixmaps/xcdroast.xpm
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
@ -112,9 +111,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
# empty
|
||||
rm -rf $PKG/etc
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
COPYING ChangeLog INSTALL README AUTHORS NEWS \
|
||||
COPYING ChangeLog README AUTHORS \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -4,3 +4,4 @@ Type=Application
|
|||
Exec=xcdroast
|
||||
Icon=xcdroast
|
||||
Comment=CD creation tool
|
||||
Categories=System;
|
||||
|
|
Loading…
Reference in a new issue