summaryrefslogtreecommitdiff
path: root/multimedia/ucview/ucview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ucview/ucview.SlackBuild')
-rw-r--r--multimedia/ucview/ucview.SlackBuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/multimedia/ucview/ucview.SlackBuild b/multimedia/ucview/ucview.SlackBuild
index 9265ebdefb..4813135b7e 100644
--- a/multimedia/ucview/ucview.SlackBuild
+++ b/multimedia/ucview/ucview.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for UCView
+# Slackware build script for ucview
-# Copyright 2015 Philip Lacroix <philnx at posteo dot de>
+# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -62,8 +62,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
-# The upstream tarball will be named differently, depending on the
-# file being downloaded manually (web browser) or with wget.
+# The upstream tarball will be named differently, depending on
+# the file being downloaded manually (web browser) or with wget.
if [ -e $CWD/$SRCVERSION.tar.gz ]; then
tar xvzf $CWD/$SRCVERSION.tar.gz
else
@@ -78,9 +78,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-PRGMAN=$PKG/usr/man/man1
-PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-
mkdir m4
autoreconf --force --install
intltoolize --force
@@ -98,13 +95,14 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-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
+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
-# Compress man page.
-gzip -9 $PRGMAN/$PRGNAM.1
+PRGMAN=$PKG/usr/man/man1
+PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-# Install documentation.
+# Compress man page and install documentation.
+gzip -9 $PRGMAN/$PRGNAM.1
mkdir -p $PRGDOC
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild