summaryrefslogtreecommitdiff
path: root/multimedia/tovid/tovid.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2015-07-26 16:17:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-28 05:24:29 +0700
commit9232790344181d266b2ab8b505517c8cf482d117 (patch)
treeeff4bbb5b480d2057e5d4c66e9dab30be73ce383 /multimedia/tovid/tovid.SlackBuild
parentab8e57a42ebd6e76268cd1d7d3afd096e5106cd3 (diff)
downloadslackbuilds-9232790344181d266b2ab8b505517c8cf482d117.tar.gz
multimedia/tovid: Updated for version 0.35.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/tovid/tovid.SlackBuild')
-rw-r--r--multimedia/tovid/tovid.SlackBuild22
1 files changed, 8 insertions, 14 deletions
diff --git a/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild
index 410db82f80..aa288025e6 100644
--- a/multimedia/tovid/tovid.SlackBuild
+++ b/multimedia/tovid/tovid.SlackBuild
@@ -17,10 +17,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-# Revision date: 2011/08/10
-
PRGNAM=tovid
-VERSION=${VERSION:-0.34}
+VERSION=${VERSION:-0.35.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,10 +45,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 400 -o -perm 440 \) \
- -exec chmod 644 {} \; -o \
- \( -perm 777 -o -perm 775 -o -perm 511 -o -perm 711 -o -perm 555 \) \
- -exec chmod 755 {} \;
+ \( -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 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
@@ -58,17 +56,13 @@ python setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for deadlink in $(find -type l ! -iname "*.gz"); do
- ln -s $(readlink $deadlink).gz $deadlink.gz
- rm $deadlink
-done
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc