multimedia/popcorntime: Updated for version 0.3.10.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matthew Kuzminski 2017-01-03 17:26:31 +07:00 committed by Willy Sudiarto Raharjo
parent 898a845e94
commit c07d970a8c
3 changed files with 15 additions and 19 deletions

View file

@ -24,7 +24,7 @@
PRGNAM='popcorntime'
SRCNAM='Popcorn-Time'
VERSION=${VERSION:-0.3.7.2}
VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -65,9 +65,9 @@ rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
if [ "$ARCH" = "x86_64" ]; then
tar xvf $CWD/$SRCNAM-$VERSION-Linux64.tar.xz
tar xJvf $CWD/$SRCNAM-$VERSION-Linux-64.tar.xz
else
tar xvf $CWD/$SRCNAM-$VERSION-Linux32.tar.xz
tar xJvf $CWD/$SRCNAM-$VERSION-Linux-32.tar.xz
fi
chown -R root:root .
@ -77,18 +77,14 @@ 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 {} \;
sed -i 's/libudev.so.1/libudev.so.0/g' Popcorn-Time
mkdir -p "$PKG/usr/bin" "$PKG/usr/share/applications/" "$PKG/usr/share/${PRGNAM}"
install -dm755 "$PKG/opt/$PRGNAM"
install -dm755 "$PKG/usr/bin"
install -dm755 "${PKG}/opt/share/${PRGNAM}"
install -dm755 "${PKG}/usr/bin"
install -Dm755 ./Popcorn-Time "$PKG/opt/$PRGNAM/"
install -Dm644 ./nw.pak "$PKG/opt/$PRGNAM/"
install -Dm644 ./package.nw "$PKG/opt/$PRGNAM/"
install -Dm644 ./libffmpegsumo.so "$PKG/opt/$PRGNAM/"
cp -a ./* "${PKG}/usr/share/${PRGNAM}/"
mkdir -p "$PKG/usr/bin" "$PKG/usr/share/applications/"
ln -s "/opt/$PRGNAM/Popcorn-Time" "$PKG/usr/bin/$PRGNAM"
ln -s "/usr/share/${PRGNAM}/Popcorn-Time" "${PKG}/usr/bin/${PRGNAM}"
install -Dm644 "$CWD/popcorntime.desktop" "$PKG/usr/share/applications/popcorntime.desktop"
install -Dm644 "$CWD/popcorntime.png" "$PKG/usr/share/pixmaps/popcorntime.png"

View file

@ -1,10 +1,10 @@
PRGNAM="popcorntime"
VERSION="0.3.7.2"
HOMEPAGE="http://popcorntime.io"
DOWNLOAD="https://get.popcorntime.io/build/Popcorn-Time-0.3.7.2-Linux32.tar.xz"
MD5SUM="c52d3927cce4ebef11e11589b5a2a850"
DOWNLOAD_x86_64="https://get.popcorntime.io/build/Popcorn-Time-0.3.7.2-Linux64.tar.xz"
MD5SUM_x86_64="918fdc08c4380563243a9a8b26fb45df"
VERSION="0.3.10"
HOMEPAGE="https://get.popcorntime.sh"
DOWNLOAD="https://get.popcorntime.sh/repo/build/Popcorn-Time-0.3.10-Linux-32.tar.xz"
MD5SUM="3a0169d0cbe015ff3a29b442844d97e"
DOWNLOAD_x86_64="https://get.popcorntime.sh/repo/build/Popcorn-Time-0.3.10-Linux-64.tar.xz"
MD5SUM_x86_64="42bfbd562dc712e06679740ed53a07de"
REQUIRES=""
MAINTAINER="Matthew Kuzminski"
EMAIL="mattkuzminski@gmail.com"

View file

@ -12,7 +12,7 @@ popcorntime: Stream movies from torrents. Skip the downloads. Launch, click, wat
popcorntime:
popcorntime:
popcorntime:
popcorntime: Homepage: http://popcorntime.io/
popcorntime: Homepage: https://get.popcorntime.sh
popcorntime:
popcorntime:
popcorntime: