aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vobsub2srt
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer_at_gmail_dot_com>2022-07-16 16:57:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-17 06:40:09 +0700
commitfd4869a8a72d8f92c194c9f32a4c5b55e022a3f7 (patch)
treecc54fabb4da6384e68b5b419223100666889f3bf /multimedia/vobsub2srt
parent44d16961aeb7e9041724e55b8f19865c83aae060 (diff)
multimedia/vobsub2srt: Updated for version 1.0pre7.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/vobsub2srt')
-rw-r--r--multimedia/vobsub2srt/slack-desc2
-rw-r--r--multimedia/vobsub2srt/vobsub2srt.SlackBuild5
2 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/vobsub2srt/slack-desc b/multimedia/vobsub2srt/slack-desc
index 85c7717e4b31d..c0fb0acc082da 100644
--- a/multimedia/vobsub2srt/slack-desc
+++ b/multimedia/vobsub2srt/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
vobsub2srt: vobsub2srt (convert VOBSUB subtitles to SRT)
vobsub2srt:
-vobsub2srt: Converts VobSub subtitles (.idx/.srt format) into .srt subtitles
+vobsub2srt: Converts VobSub subtitles (.idx/.sub format) into .srt subtitles
vobsub2srt:
vobsub2srt:
vobsub2srt: homepage: https://github.com/ruediger/VobSub2SRT
diff --git a/multimedia/vobsub2srt/vobsub2srt.SlackBuild b/multimedia/vobsub2srt/vobsub2srt.SlackBuild
index b58b183980410..e7da07154de96 100644
--- a/multimedia/vobsub2srt/vobsub2srt.SlackBuild
+++ b/multimedia/vobsub2srt/vobsub2srt.SlackBuild
@@ -94,7 +94,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_DATA_DIR_BASE=/usr/share \
-DINSTALL_DOC_DIR_BASE=/usr/doc \
- -DINSTALL_MAN_DIR=/usr/man \
+ -DINSTALL_MAN_DIR=/usr/man/man1 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -106,7 +106,8 @@ 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
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# make install creates the usr/doc/$PRGNAM, so:
+mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING README* \
$PKG/usr/doc/$PRGNAM-$VERSION