diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 44 | ||||
-rw-r--r-- | popcorntime.desktop | 7 |
3 files changed, 38 insertions, 28 deletions
@@ -1,12 +1,13 @@ | |||
1 | pkgbase = popcorntime-bin | 1 | pkgbase = popcorntime-bin |
2 | pkgdesc = Stream movies from torrents. Skip the downloads. Launch, click, watch. | 2 | pkgdesc = Stream movies from torrents. Skip the downloads. Launch, click, watch. |
3 | pkgver = 0.3.7.2 | 3 | pkgver = 0.3.8.0 |
4 | pkgrel = 6 | 4 | pkgrel = 1 |
5 | url = http://popcorntime.io/ | 5 | url = http://popcorntime.io/ |
6 | install = popcorntime.install | 6 | install = popcorntime.install |
7 | arch = x86_64 | 7 | arch = x86_64 |
8 | arch = i686 | 8 | arch = i686 |
9 | license = GPL3 | 9 | license = GPL3 |
10 | depends = libsystemd | ||
10 | depends = ttf-liberation | 11 | depends = ttf-liberation |
11 | depends = gconf | 12 | depends = gconf |
12 | depends = nss | 13 | depends = nss |
@@ -17,14 +18,12 @@ pkgbase = popcorntime-bin | |||
17 | provides = popcorntime | 18 | provides = popcorntime |
18 | conflicts = popcorntime | 19 | conflicts = popcorntime |
19 | options = !strip | 20 | options = !strip |
20 | source = http://get.popcorntime.io/build/Popcorn-Time-0.3.7.2-Linux64.tar.xz | 21 | source = http://get.popcorntime.io/build/Popcorn-Time-0.3.8-0-Linux-64.tar.xz |
21 | source = icon.png | ||
22 | source = popcorntime.install | 22 | source = popcorntime.install |
23 | source = popcorntime.desktop | 23 | source = popcorntime.desktop |
24 | sha256sums = 0b294d08e6bc46d3d06717d4a6344b4e6e4e14f742f61101b8498d931d99a952 | 24 | sha1sums = e0d34c48fb55680f922b62d31121032c744fb183 |
25 | sha256sums = 9e1bc552bb06446689233b1a123d4cc421771673a7b803a980d4149bf4dc38b3 | 25 | sha1sums = 23ee4387bebeaec41fb5b2d0428dd0ff5d0cad73 |
26 | sha256sums = 3dd794302ad0b3a98d48973175b6de9bc632181872df2d0376a19a5cc0aa14a2 | 26 | sha1sums = 98cba5c0c979d37e601cc33cf3b562f106427d36 |
27 | sha256sums = ac2b7183d3ea62ae821c7d1f4b243b0ca41c7838efa16babe29cad0c4958ee25 | ||
28 | 27 | ||
29 | pkgname = popcorntime-bin | 28 | pkgname = popcorntime-bin |
30 | 29 | ||
@@ -9,32 +9,31 @@ | |||
9 | # Contributor: xantares <xantares09 [at] hotmail [dot] com> | 9 | # Contributor: xantares <xantares09 [at] hotmail [dot] com> |
10 | 10 | ||
11 | pkgname=popcorntime-bin | 11 | pkgname=popcorntime-bin |
12 | pkgver=0.3.7.2 | 12 | pkgver=0.3.8.0 |
13 | pkgrel=6 | 13 | _pkgver='0.3.8-0' |
14 | pkgrel=1 | ||
14 | pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." | 15 | pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." |
15 | arch=('x86_64' 'i686') | 16 | arch=('x86_64' 'i686') |
16 | url="http://popcorntime.io/" | 17 | url="http://popcorntime.io/" |
17 | license=('GPL3') | 18 | license=('GPL3') |
18 | depends=('ttf-liberation' 'gconf' 'nss' 'libxtst' 'gtk2' 'alsa-lib') | 19 | depends=('libsystemd' 'ttf-liberation' 'gconf' 'nss' 'libxtst' 'gtk2' 'alsa-lib') |
19 | optdepends=('net-tools: necessary for the new vpn feature') | 20 | optdepends=('net-tools: necessary for the new vpn feature') |
20 | provides=('popcorntime') | 21 | provides=('popcorntime') |
21 | conflicts=('popcorntime') | 22 | conflicts=('popcorntime') |
22 | options=('!strip') | 23 | options=('!strip') |
23 | install="popcorntime.install" | 24 | install="popcorntime.install" |
24 | sha256sums=('0b294d08e6bc46d3d06717d4a6344b4e6e4e14f742f61101b8498d931d99a952' | 25 | sha1sums=('e0d34c48fb55680f922b62d31121032c744fb183' |
25 | '9e1bc552bb06446689233b1a123d4cc421771673a7b803a980d4149bf4dc38b3' | 26 | '23ee4387bebeaec41fb5b2d0428dd0ff5d0cad73' |
26 | '3dd794302ad0b3a98d48973175b6de9bc632181872df2d0376a19a5cc0aa14a2' | 27 | '98cba5c0c979d37e601cc33cf3b562f106427d36') |
27 | 'ac2b7183d3ea62ae821c7d1f4b243b0ca41c7838efa16babe29cad0c4958ee25') | ||
28 | 28 | ||
29 | _platform=Linux64 | 29 | _platform='Linux-64' |
30 | 30 | ||
31 | if [ "$CARCH" = 'i686' ]; then | 31 | if [ "$CARCH" = 'i686' ]; then |
32 | _platform=Linux32 | 32 | _platform='Linuxi-32' |
33 | sha256sums[0]='21e5dbc667f13572fcd8edc535ce4fcd2c0bffafcd237753ad8a2f1cc665e1b7' | 33 | sha256sums[0]='0217ce93e88650c7d557cafcfdf10a4b5fa14c54' |
34 | fi | 34 | fi |
35 | 35 | ||
36 | source=("http://get.popcorntime.io/build/Popcorn-Time-${pkgver}-${_platform}.tar.xz" | 36 | source=("http://get.popcorntime.io/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz" |
37 | "icon.png" | ||
38 | "popcorntime.install" | 37 | "popcorntime.install" |
39 | "popcorntime.desktop") | 38 | "popcorntime.desktop") |
40 | 39 | ||
@@ -47,10 +46,21 @@ package() { | |||
47 | 46 | ||
48 | # Program | 47 | # Program |
49 | echo "${pkgdir}/opt/${pkgname}/" | 48 | echo "${pkgdir}/opt/${pkgname}/" |
50 | install -Dm755 ${srcdir}/Popcorn-Time "${pkgdir}/opt/${pkgname}/" | 49 | install -Dm755 "${srcdir}/Popcorn-Time" "${pkgdir}/opt/${pkgname}/" |
51 | install -Dm644 ${srcdir}/nw.pak "${pkgdir}/opt/${pkgname}/" | 50 | install -Dm644 "${srcdir}/nw.pak" "${pkgdir}/opt/${pkgname}/" |
52 | install -Dm644 ${srcdir}/libffmpegsumo.so "${pkgdir}/opt/${pkgname}/" | 51 | install -Dm644 "${srcdir}/libffmpegsumo.so" "${pkgdir}/opt/${pkgname}/" |
53 | install -Dm644 ${srcdir}/package.nw "${pkgdir}/opt/${pkgname}/" | 52 | install -Dm644 "${srcdir}/CHANGELOG.md" "${pkgdir}/opt/${pkgname}/" |
53 | install -Dm644 "${srcdir}/icudtl.dat" "${pkgdir}/opt/${pkgname}/" | ||
54 | install -Dm644 "${srcdir}/install" "${pkgdir}/opt/${pkgname}/" | ||
55 | install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/opt/${pkgname}/" | ||
56 | install -Dm644 "${srcdir}/package.json" "${pkgdir}/opt/${pkgname}/" | ||
57 | install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/opt/${pkgname}/" | ||
58 | install -Dm644 "${srcdir}/README.md" "${pkgdir}/opt/${pkgname}/" | ||
59 | |||
60 | # Directories | ||
61 | cp -a "${srcdir}/locales" "${pkgdir}/opt/${pkgname}/" | ||
62 | cp -a "${srcdir}/node_modules" "${pkgdir}/opt/${pkgname}/" | ||
63 | cp -a "${srcdir}/src" "${pkgdir}/opt/${pkgname}/" | ||
54 | 64 | ||
55 | # Link to program | 65 | # Link to program |
56 | ln -s "/opt/${pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/popcorntime" | 66 | ln -s "/opt/${pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/popcorntime" |
@@ -59,5 +69,5 @@ package() { | |||
59 | install -Dm644 "${srcdir}/popcorntime.desktop" "${pkgdir}/usr/share/applications/popcorntime.desktop" | 69 | install -Dm644 "${srcdir}/popcorntime.desktop" "${pkgdir}/usr/share/applications/popcorntime.desktop" |
60 | 70 | ||
61 | # Icon | 71 | # Icon |
62 | install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/pixmaps/popcorntime.png" | 72 | install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/usr/share/pixmaps/popcorntime.png" |
63 | } | 73 | } |
diff --git a/popcorntime.desktop b/popcorntime.desktop index f8f223b..3b39b63 100644 --- a/popcorntime.desktop +++ b/popcorntime.desktop | |||
@@ -1,8 +1,9 @@ | |||
1 | [Desktop Entry] | 1 | [Desktop Entry] |
2 | Name=Popcorn Time | 2 | Name=Popcorn Time |
3 | Comment=Watch torrent movies instantly | 3 | Comment=Watch Movies and TV Shows instantly |
4 | Exec=popcorntime %U | 4 | Exec=popcorntime %U |
5 | Icon=popcorntime | 5 | Icon=popcorntime |
6 | Terminal=false | 6 | MimeType=application/x-bittorrent;x-scheme-handler/magnet; |
7 | StartupNotify=false | ||
8 | Categories=AudioVideo;Video;Network;Player;P2P; | ||
7 | Type=Application | 9 | Type=Application |
8 | Categories=Player;Video;Network; | ||