diff options
author | B. Watson <yalhcru@gmail.com> | 2014-12-22 23:57:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-22 23:57:16 +0700 |
commit | be2d8d211fb2d37be85633ce204d10373671db51 (patch) | |
tree | 88d7667ea43280224906f4744309e0dac0450c04 /network/tribler/git2tarxz.sh | |
parent | be9c1849b69415ae1036310159daef5bf1878651 (diff) |
network/tribler: Added (video streaming and bittorrent client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/tribler/git2tarxz.sh')
-rw-r--r-- | network/tribler/git2tarxz.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/network/tribler/git2tarxz.sh b/network/tribler/git2tarxz.sh new file mode 100644 index 0000000000000..a8cec7dc06cf1 --- /dev/null +++ b/network/tribler/git2tarxz.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +# get git tag of of Tribler project release, turn into a src tarball. +# needed because their source archive release is broken (it's +# missing some of its own python libraries). + +PRGNAM=tribler +VERSION=6.4.0 + +GITURL="https://github.com/Tribler/tribler.git" + +OUTDIR=$PRGNAM-$VERSION +TARBALL=$OUTDIR.tar.xz + +rm -rf $OUTDIR $TARBALL + +git clone --branch v$VERSION --recursive --depth 1 "$GITURL" $OUTDIR +find $OUTDIR -name '.git*' -print0 | xargs -0 rm -rf + +# there is absolutely no reason to include a giant windows executable. +rm -f $OUTDIR/ffmpeg.exe + +tar cvfJ $TARBALL $OUTDIR + +# a reminder to myself... +md5sum $TARBALL +echo "Don't forget to update the MD5SUM= line in the .info file" |