multimedia/plex-home-theater: copyright year + cleanup

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marcel Saegebarth 2015-01-30 14:45:04 +01:00 committed by Willy Sudiarto Raharjo
parent 4223ba974e
commit 687763069b

View file

@ -1,8 +1,8 @@
#!/bin/sh
# SlackBuild script for "plex-home-theater".
# Slackware build script for "plex-home-theater".
# Copyright 2014 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -65,7 +65,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz || tar xvf $CWD/pht-v${VERSION}.tar.gz
cd $PRGNAM-$VERSION || cd $PRGNAM-public-pht-v${VERSION}
chown -R root:root .
find . \
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
@ -108,7 +108,8 @@ mkdir -p $PKG/usr/share/pixmaps
install -D -m 0644 $CWD/${PRGNAM}_512x512.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTORS LICENSE.GPL README README-BUILD-PLEX.md docs/README.* \
cp -a \
CONTRIBUTORS LICENSE.GPL README README-BUILD-PLEX.md docs/README.* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild