diff options
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | PKGBUILD | 77 |
2 files changed, 44 insertions, 64 deletions
@@ -1,31 +1,28 @@ | |||
1 | pkgbase = popcorntime-bin | 1 | pkgbase = popcorntime-bin |
2 | pkgdesc = Stream movies from torrents. Skip the downloads. Launch, click, watch. | 2 | pkgdesc = Stream movies and TV shows from torrents |
3 | pkgver = 0.3.8.5 | 3 | pkgver = 0.3.9 |
4 | pkgrel = 5 | 4 | pkgrel = 1 |
5 | url = http://popcorntime.io/ | 5 | url = https://popcorntime.sh |
6 | install = popcorntime.install | 6 | install = popcorntime.install |
7 | arch = x86_64 | ||
8 | arch = i686 | 7 | arch = i686 |
8 | arch = x86_64 | ||
9 | license = GPL3 | 9 | license = GPL3 |
10 | depends = libnotify | 10 | depends = alsa-lib |
11 | depends = desktop-file-utils | ||
12 | depends = ttf-font | ||
13 | depends = gconf | 11 | depends = gconf |
12 | depends = gtk2 | ||
14 | depends = nss | 13 | depends = nss |
14 | depends = ttf-font | ||
15 | depends = libxtst | 15 | depends = libxtst |
16 | depends = gtk2 | 16 | depends = libnotify |
17 | depends = alsa-lib | 17 | depends = desktop-file-utils |
18 | optdepends = net-tools: necessary for the new vpn feature | ||
19 | optdepends = ttf-liberation: open source ttf fonts | ||
20 | provides = popcorntime | 18 | provides = popcorntime |
19 | provides = popcorn-time-ce | ||
21 | conflicts = popcorntime | 20 | conflicts = popcorntime |
22 | options = !strip | 21 | options = !strip |
23 | source = http://web.archive.org/web/20150909184516/http://128.199.107.206/build/Popcorn-Time-0.3.8-5-Linux-64.tar.xz | 22 | source = https://get.popcorntime.sh/build/Popcorn-Time-0.3.9-.tar.xz |
24 | source = popcorntime.install | ||
25 | source = popcorntime.desktop | 23 | source = popcorntime.desktop |
26 | sha1sums = fcd6044861cfb78587d9b6e9590c0872144045c6 | 24 | sha256sums = 27db5a11580204add3494f0274d170bad2fcba0c9e4461d408a20dcd10b4eadf |
27 | sha1sums = d2e56426a321faabd316ea0bc89b2fa2fb0dfa48 | 25 | sha256sums = 4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334 |
28 | sha1sums = 98cba5c0c979d37e601cc33cf3b562f106427d36 | ||
29 | 26 | ||
30 | pkgname = popcorntime-bin | 27 | pkgname = popcorntime-bin |
31 | 28 | ||
@@ -1,4 +1,5 @@ | |||
1 | # Maintainer: Ricardo Funke <ricardo [at] gmail [dot] com> | 1 | # Maintainer: Pieter Goetschalckx <3.14.e.ter [at] gmail [dot] com> |
2 | # Contributor: Ricardo Funke <ricardo [at] gmail [dot] com> | ||
2 | # Contributor: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu> | 3 | # Contributor: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu> |
3 | # Contributor: Iwan Timmer <irtimmer [at] gmail [dot] com> | 4 | # Contributor: Iwan Timmer <irtimmer [at] gmail [dot] com> |
4 | # Contributor: Eric Engestrom <aur [at] engestrom [dot] ch> | 5 | # Contributor: Eric Engestrom <aur [at] engestrom [dot] ch> |
@@ -10,69 +11,51 @@ | |||
10 | # Contributor: petterk <stifler3k [at] hotmail [dot] com> | 11 | # Contributor: petterk <stifler3k [at] hotmail [dot] com> |
11 | 12 | ||
12 | pkgname=popcorntime-bin | 13 | pkgname=popcorntime-bin |
13 | pkgver=0.3.8.5 | 14 | _pkgname=popcorntime |
14 | _pkgver='0.3.8-5' | 15 | pkgver=0.3.9 |
15 | pkgrel=5 | 16 | pkgrel=1 |
16 | pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." | 17 | pkgdesc="Stream movies and TV shows from torrents" |
17 | arch=('x86_64' 'i686') | 18 | arch=('i686' 'x86_64') |
18 | url="http://popcorntime.io/" | 19 | url="https://popcorntime.sh" |
19 | license=('GPL3') | 20 | license=('GPL3') |
20 | depends=('libnotify' 'desktop-file-utils' 'ttf-font' 'gconf' 'nss' 'libxtst' 'gtk2' 'alsa-lib') | 21 | depends=('alsa-lib' 'gconf' 'gtk2' 'nss' 'ttf-font' 'libxtst' 'libnotify' 'desktop-file-utils') |
21 | optdepends=('net-tools: necessary for the new vpn feature' 'ttf-liberation: open source ttf fonts') | 22 | provides=('popcorntime' 'popcorn-time-ce') |
22 | provides=('popcorntime') | ||
23 | conflicts=('popcorntime') | 23 | conflicts=('popcorntime') |
24 | options=('!strip') | 24 | options=('!strip') |
25 | install="popcorntime.install" | 25 | install=popcorntime.install |
26 | sha1sums=('fcd6044861cfb78587d9b6e9590c0872144045c6' | 26 | [ "$CARCH" = "i686" ] && _platform='Linux-32' |
27 | 'd2e56426a321faabd316ea0bc89b2fa2fb0dfa48' | 27 | [ "$CARCH" = "x86_64" ] && _platform='Linux-64' |
28 | '98cba5c0c979d37e601cc33cf3b562f106427d36') | 28 | source=("https://get.popcorntime.sh/build/Popcorn-Time-${pkgver}-${_platform}.tar.xz" |
29 | "${_pkgname}.desktop") | ||
30 | sha256sums=('27db5a11580204add3494f0274d170bad2fcba0c9e4461d408a20dcd10b4eadf' | ||
31 | '4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334') | ||
29 | 32 | ||
30 | _platform='Linux-64' | 33 | [ "$CARCH" = "i686" ] && _platform=linux32 |
31 | 34 | [ "$CARCH" = "x86_64" ] && _platform=linux64 | |
32 | if [ "$CARCH" = 'i686' ]; then | ||
33 | _platform='Linux-32' | ||
34 | sha1sums[0]='ec994d8a0420857018aabf8555926b0a6d43a1f1' | ||
35 | fi | ||
36 | |||
37 | #source=("http://get.popcorntime.io/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz" | ||
38 | #source=("http://web.archive.org/web/20150909191012/http://get.popcorntime.io/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz" | ||
39 | source=("http://web.archive.org/web/20150909184516/http://128.199.107.206/build/Popcorn-Time-${_pkgver}-${_platform}.tar.xz" | ||
40 | "popcorntime.install" | ||
41 | "popcorntime.desktop") | ||
42 | 35 | ||
43 | package() { | 36 | package() { |
44 | cd "${srcdir}" | 37 | _bpath="${_platform}" |
45 | 38 | ||
46 | install -dm755 "${pkgdir}/opt/${pkgname}/" | 39 | install -dm755 "${pkgdir}/usr/share/${_pkgname}" |
47 | install -dm755 "${pkgdir}/usr/bin" | 40 | install -dm755 "${pkgdir}/usr/bin" |
48 | install -dm755 "${pkgdir}/usr/share" | ||
49 | 41 | ||
50 | # Program | 42 | # Program |
51 | echo "${pkgdir}/opt/${pkgname}/" | 43 | install -Dm755 "${_bpath}/Popcorn-Time" "${pkgdir}/usr/share/${_pkgname}/" |
52 | install -Dm755 "${srcdir}/Popcorn-Time" "${pkgdir}/opt/${pkgname}/" | 44 | install -Dm644 "${_bpath}/"{icudtl.dat,libffmpegsumo.so,nw.pak,package.json} \ |
53 | install -Dm644 "${srcdir}/nw.pak" "${pkgdir}/opt/${pkgname}/" | 45 | "${pkgdir}/usr/share/${_pkgname}/" |
54 | install -Dm644 "${srcdir}/libffmpegsumo.so" "${pkgdir}/opt/${pkgname}/" | ||
55 | # install -Dm644 "${srcdir}/CHANGELOG.md" "${pkgdir}/opt/${pkgname}/" | ||
56 | install -Dm644 "${srcdir}/icudtl.dat" "${pkgdir}/opt/${pkgname}/" | ||
57 | install -Dm644 "${srcdir}/install" "${pkgdir}/opt/${pkgname}/" | ||
58 | # install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/opt/${pkgname}/" | ||
59 | # install -Dm644 "${srcdir}/package.json" "${pkgdir}/opt/${pkgname}/" | ||
60 | install -Dm644 "${srcdir}/package.nw" "${pkgdir}/opt/${pkgname}/" | ||
61 | install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/opt/${pkgname}/" | ||
62 | # install -Dm644 "${srcdir}/README.md" "${pkgdir}/opt/${pkgname}/" | ||
63 | 46 | ||
64 | # Directories | 47 | # Directories |
65 | cp -a "${srcdir}/locales" "${pkgdir}/opt/${pkgname}/" | 48 | cp -a "${_bpath}/"{locales,node_modules,src} "${pkgdir}/usr/share/${_pkgname}/" |
66 | # cp -a "${srcdir}/node_modules" "${pkgdir}/opt/${pkgname}/" | ||
67 | # cp -a "${srcdir}/src" "${pkgdir}/opt/${pkgname}/" | ||
68 | 49 | ||
69 | # Link to program | 50 | # Link to program |
70 | ln -s "/opt/${pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/popcorntime" | 51 | ln -s "/usr/share/${_pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/${_pkgname}" |
71 | 52 | ||
72 | # Desktop file | 53 | # Desktop file |
73 | install -Dm644 "${srcdir}/popcorntime.desktop" "${pkgdir}/usr/share/applications/popcorntime.desktop" | 54 | install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" |
74 | 55 | ||
75 | # Icon | 56 | # Icon |
76 | install -Dm644 "${srcdir}/popcorntime.png" "${pkgdir}/usr/share/pixmaps/popcorntime.png" | 57 | install -Dm644 "${_bpath}/src/app/images/icon.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${_pkgname}.png" |
77 | } | 58 | } |
78 | 59 | ||
60 | # vim:set ts=2 sw=2 et: | ||
61 | |||