summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f48785..d67251c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,9 +10,9 @@
10# Contributor: petterk <stifler3k [at] hotmail [dot] com> 10# Contributor: petterk <stifler3k [at] hotmail [dot] com>
11 11
12pkgname=popcorntime-bin 12pkgname=popcorntime-bin
13pkgver=0.3.8.3 13pkgver=0.3.8.5
14_pkgver='0.3.8-3' 14_pkgver='0.3.8-5'
15pkgrel=2 15pkgrel=1
16pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." 16pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch."
17arch=('x86_64' 'i686') 17arch=('x86_64' 'i686')
18url="http://popcorntime.io/" 18url="http://popcorntime.io/"
@@ -23,7 +23,7 @@ provides=('popcorntime')
23conflicts=('popcorntime') 23conflicts=('popcorntime')
24options=('!strip') 24options=('!strip')
25install="popcorntime.install" 25install="popcorntime.install"
26sha1sums=('8aff55d7e6fe79a407b615d62e0bc8ec1ff4d596' 26sha1sums=('c9e40d39a8953c7a61543332f82bac9e0b6d50e4'
27 'd2e56426a321faabd316ea0bc89b2fa2fb0dfa48' 27 'd2e56426a321faabd316ea0bc89b2fa2fb0dfa48'
28 '98cba5c0c979d37e601cc33cf3b562f106427d36') 28 '98cba5c0c979d37e601cc33cf3b562f106427d36')
29 29
@@ -31,7 +31,7 @@ _platform='Linux-64'
31 31
32if [ "$CARCH" = 'i686' ]; then 32if [ "$CARCH" = 'i686' ]; then
33 _platform='Linux-32' 33 _platform='Linux-32'
34 sha1sums[0]='22573cdad5687502101f36100e8c4c5cbcb97e09' 34 sha1sums[0]='c3e3917219a6658e149bb678622e9ea1741c6b89'
35fi 35fi
36 36
37source=("http://get.popcorntime.io/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz" 37source=("http://get.popcorntime.io/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz"
@@ -50,18 +50,19 @@ package() {
50 install -Dm755 "${srcdir}/Popcorn-Time" "${pkgdir}/opt/${pkgname}/" 50 install -Dm755 "${srcdir}/Popcorn-Time" "${pkgdir}/opt/${pkgname}/"
51 install -Dm644 "${srcdir}/nw.pak" "${pkgdir}/opt/${pkgname}/" 51 install -Dm644 "${srcdir}/nw.pak" "${pkgdir}/opt/${pkgname}/"
52 install -Dm644 "${srcdir}/libffmpegsumo.so" "${pkgdir}/opt/${pkgname}/" 52 install -Dm644 "${srcdir}/libffmpegsumo.so" "${pkgdir}/opt/${pkgname}/"
53 install -Dm644 "${srcdir}/CHANGELOG.md" "${pkgdir}/opt/${pkgname}/" 53# install -Dm644 "${srcdir}/CHANGELOG.md" "${pkgdir}/opt/${pkgname}/"
54 install -Dm644 "${srcdir}/icudtl.dat" "${pkgdir}/opt/${pkgname}/" 54 install -Dm644 "${srcdir}/icudtl.dat" "${pkgdir}/opt/${pkgname}/"
55 install -Dm644 "${srcdir}/install" "${pkgdir}/opt/${pkgname}/" 55 install -Dm644 "${srcdir}/install" "${pkgdir}/opt/${pkgname}/"
56 install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/opt/${pkgname}/" 56# install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/opt/${pkgname}/"
57 install -Dm644 "${srcdir}/package.json" "${pkgdir}/opt/${pkgname}/" 57# install -Dm644 "${srcdir}/package.json" "${pkgdir}/opt/${pkgname}/"
58 install -Dm644 "${srcdir}/package.nw" "${pkgdir}/opt/${pkgname}/"
58 install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/opt/${pkgname}/" 59 install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/opt/${pkgname}/"
59 install -Dm644 "${srcdir}/README.md" "${pkgdir}/opt/${pkgname}/" 60# install -Dm644 "${srcdir}/README.md" "${pkgdir}/opt/${pkgname}/"
60 61
61 # Directories 62 # Directories
62 cp -a "${srcdir}/locales" "${pkgdir}/opt/${pkgname}/" 63 cp -a "${srcdir}/locales" "${pkgdir}/opt/${pkgname}/"
63 cp -a "${srcdir}/node_modules" "${pkgdir}/opt/${pkgname}/" 64# cp -a "${srcdir}/node_modules" "${pkgdir}/opt/${pkgname}/"
64 cp -a "${srcdir}/src" "${pkgdir}/opt/${pkgname}/" 65# cp -a "${srcdir}/src" "${pkgdir}/opt/${pkgname}/"
65 66
66 # Link to program 67 # Link to program
67 ln -s "/opt/${pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/popcorntime" 68 ln -s "/opt/${pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/popcorntime"
@@ -72,3 +73,4 @@ package() {
72 # Icon 73 # Icon
73 install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/usr/share/pixmaps/popcorntime.png" 74 install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/usr/share/pixmaps/popcorntime.png"
74} 75}
76