# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Popcorn-Time
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.3.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-fsleg}
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION-Linux-$BITS.tar.gz
+mkdir -p $PRGNAM
cd $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION-Linux$BITS.tar.xz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
PRGNAM="Popcorn-Time"
-VERSION="0.3.2"
+VERSION="0.3.5.2"
HOMEPAGE="http://popcorntime.io/"
-DOWNLOAD="http://cdn.popcorntime.io/build/Popcorn-Time-0.3.2-Linux-32.tar.gz"
-MD5SUM="0ce0c6c9204cd1d8dc3e2aae88f30324"
-DOWNLOAD_x86_64="http://cdn.popcorntime.io/build/Popcorn-Time-0.3.2-Linux-64.tar.gz"
-MD5SUM_x86_64="853fb407c9800fcc953e1f21814dbc2e"
+DOWNLOAD="http://cdn.popcorntime.io/build/Popcorn-Time-0.3.5.2-Linux32.tar.gz"
+MD5SUM="e48bb1f8252392bd6590a651508ca876"
+DOWNLOAD_x86_64="http://cdn.popcorntime.io/build/Popcorn-Time-0.3.5.2-Linux64.tar.gz"
+MD5SUM_x86_64="9c9c453e85e6426b40f13ce29d58b73c"
REQUIRES=""
MAINTAINER="Vladislav Borisov"
EMAIL="fsleg@t-rg.ws"