summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index bc15c56033..f65066329c 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -39,22 +39,21 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
mkdir download
-for file in $DLOADS ; do mv $CWD/$file download ; done
+for file in $DLOADS ; do cp $CWD/$file download ; done
chown -R root:root .
chmod -R a-s,u+w,g-w+r,o-w+r .
./configure \
--prefix=/usr\
- --disable-gtk \
--arch=$ARCH
cd build
make
- install -D -m0755 HandBrakeCLI $PKG/usr/bin/HandBrakeCLI
cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ install -D -m0755 -s build/HandBrakeCLI $PKG/usr/bin/HandBrakeCLI
+ install -D -m0755 -s build/gtk/src/ghb $PKG/usr/bin/ghb
+ install -D -m0644 gtk/src/ghb.desktop $PKG/usr/share/applications/ghb.desktop
+ install -D -m0644 gtk/src/hb-icon.64.png $PKG/usr/share/pixmaps/hb-icon.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING CREDITS NEWS THANKS $PKG/usr/doc/$PRGNAM-$VERSION