summaryrefslogtreecommitdiff
path: root/multimedia/dvdrip/dvdrip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvdrip/dvdrip.SlackBuild')
-rw-r--r--multimedia/dvdrip/dvdrip.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/multimedia/dvdrip/dvdrip.SlackBuild b/multimedia/dvdrip/dvdrip.SlackBuild
index ff0c2f1f8a..d4ab7a4c24 100644
--- a/multimedia/dvdrip/dvdrip.SlackBuild
+++ b/multimedia/dvdrip/dvdrip.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=dvdrip
VERSION=${VERSION:-0.98.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,7 +51,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Makefile.PL
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG
@@ -63,7 +67,8 @@ mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/dvdrip.desktop > $PKG/usr/share/applications/dvdrip.desktop
cat $CWD/dvdrip.png > $PKG/usr/share/pixmaps/dvdrip.png
-mv $PKG/usr/share/man $PKG/usr
+# some man files are empty ATM :/
+rm $PKG/usr/man/man1/dvdrip-*
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