diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -10,9 +10,9 @@ | |||
10 | # Contributor: petterk <stifler3k [at] hotmail [dot] com> | 10 | # Contributor: petterk <stifler3k [at] hotmail [dot] com> |
11 | 11 | ||
12 | pkgname=popcorntime-bin | 12 | pkgname=popcorntime-bin |
13 | pkgver=0.3.8.3 | 13 | pkgver=0.3.8.5 |
14 | _pkgver='0.3.8-3' | 14 | _pkgver='0.3.8-5' |
15 | pkgrel=2 | 15 | pkgrel=1 |
16 | pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." | 16 | pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." |
17 | arch=('x86_64' 'i686') | 17 | arch=('x86_64' 'i686') |
18 | url="http://popcorntime.io/" | 18 | url="http://popcorntime.io/" |
@@ -23,7 +23,7 @@ provides=('popcorntime') | |||
23 | conflicts=('popcorntime') | 23 | conflicts=('popcorntime') |
24 | options=('!strip') | 24 | options=('!strip') |
25 | install="popcorntime.install" | 25 | install="popcorntime.install" |
26 | sha1sums=('8aff55d7e6fe79a407b615d62e0bc8ec1ff4d596' | 26 | sha1sums=('c9e40d39a8953c7a61543332f82bac9e0b6d50e4' |
27 | 'd2e56426a321faabd316ea0bc89b2fa2fb0dfa48' | 27 | 'd2e56426a321faabd316ea0bc89b2fa2fb0dfa48' |
28 | '98cba5c0c979d37e601cc33cf3b562f106427d36') | 28 | '98cba5c0c979d37e601cc33cf3b562f106427d36') |
29 | 29 | ||
@@ -31,7 +31,7 @@ _platform='Linux-64' | |||
31 | 31 | ||
32 | if [ "$CARCH" = 'i686' ]; then | 32 | if [ "$CARCH" = 'i686' ]; then |
33 | _platform='Linux-32' | 33 | _platform='Linux-32' |
34 | sha1sums[0]='22573cdad5687502101f36100e8c4c5cbcb97e09' | 34 | sha1sums[0]='c3e3917219a6658e149bb678622e9ea1741c6b89' |
35 | fi | 35 | fi |
36 | 36 | ||
37 | source=("http://get.popcorntime.io/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz" | 37 | source=("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 | |||