summaryrefslogtreecommitdiff
path: root/multimedia/popcorntime
diff options
context:
space:
mode:
authorMatthew Kuzminski <mattkuzminski@gmail.com>2017-01-03 17:26:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-03 17:26:31 +0700
commitc07d970a8c8436493115c2ad12e6824b827331e0 (patch)
tree18af2dc96647373d586c275bc17a876c05616637 /multimedia/popcorntime
parent898a845e945eac0b01627d3e3c4c0896404466fd (diff)
downloadslackbuilds-c07d970a8c8436493115c2ad12e6824b827331e0.tar.gz
multimedia/popcorntime: Updated for version 0.3.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/popcorntime')
-rw-r--r--multimedia/popcorntime/popcorntime.SlackBuild20
-rw-r--r--multimedia/popcorntime/popcorntime.info12
-rw-r--r--multimedia/popcorntime/slack-desc2
3 files changed, 15 insertions, 19 deletions
diff --git a/multimedia/popcorntime/popcorntime.SlackBuild b/multimedia/popcorntime/popcorntime.SlackBuild
index 87bbcb5e28..91d333a698 100644
--- a/multimedia/popcorntime/popcorntime.SlackBuild
+++ b/multimedia/popcorntime/popcorntime.SlackBuild
@@ -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"
diff --git a/multimedia/popcorntime/popcorntime.info b/multimedia/popcorntime/popcorntime.info
index 45dc6b610a..b6e19efd2d 100644
--- a/multimedia/popcorntime/popcorntime.info
+++ b/multimedia/popcorntime/popcorntime.info
@@ -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"
diff --git a/multimedia/popcorntime/slack-desc b/multimedia/popcorntime/slack-desc
index 9bc6ce0015..2506f42b93 100644
--- a/multimedia/popcorntime/slack-desc
+++ b/multimedia/popcorntime/slack-desc
@@ -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: