diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 22 insertions, 17 deletions
@@ -1,10 +1,11 @@ | |||
1 | pkgbase = popcorntime-bin | 1 | pkgbase = popcorntime-bin |
2 | pkgdesc = Stream movies and TV shows from torrents (stable builds) | 2 | pkgdesc = Stream free movies and TV shows from torrents |
3 | pkgver = 0.3.10 | 3 | pkgver = 0.4.1 |
4 | pkgrel = 7 | 4 | pkgrel = 1 |
5 | url = https://popcorntime.app | 5 | url = https://popcorntime.app/ |
6 | arch = x86_64 | 6 | arch = x86_64 |
7 | license = GPL3 | 7 | license = GPL3 |
8 | makedepends = unzip | ||
8 | depends = nss | 9 | depends = nss |
9 | depends = ttf-font | 10 | depends = ttf-font |
10 | depends = libxss | 11 | depends = libxss |
@@ -17,10 +18,10 @@ pkgbase = popcorntime-bin | |||
17 | provides = popcorntime-stable-bin | 18 | provides = popcorntime-stable-bin |
18 | conflicts = popcorntime | 19 | conflicts = popcorntime |
19 | options = !strip | 20 | options = !strip |
21 | source = https://get.popcorntime.app/build/Popcorn-Time-0.4.1-linux64.zip | ||
20 | source = popcorntime.desktop | 22 | source = popcorntime.desktop |
21 | source = https://get.popcorntime.app/build/Popcorn-Time-0.3.10-Linux-64.tar.xz | 23 | sha256sums = e167c42ffa49d5bf9f530ad998275dbcf38195bd0b10a121922d91dd528d546c |
22 | sha512sums = 7e6538a7b39465439a62cb089510b6d85a65ad4bfa74d21b692363d1176ee94165ab7b5fef5f3470bf821cfc9f3b3a23763b8e3d8530420d7fa97c66083c3adb | 24 | sha256sums = 4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334 |
23 | sha512sums = 0fe3c1be064231134eacfb0be74266361ba5d521f0cda2848cad5357fe03d6603284e80ed3bdacdf0a012b415949b9603ff3dcf95b03693e2f7704d500ee9516 | ||
24 | 25 | ||
25 | pkgname = popcorntime-bin | 26 | pkgname = popcorntime-bin |
26 | 27 | ||
@@ -15,26 +15,29 @@ | |||
15 | 15 | ||
16 | pkgname=popcorntime-bin | 16 | pkgname=popcorntime-bin |
17 | _pkgname=popcorntime | 17 | _pkgname=popcorntime |
18 | pkgver=0.3.10 | 18 | pkgver=0.4.1 |
19 | pkgrel=7 | 19 | pkgrel=1 |
20 | pkgdesc="Stream movies and TV shows from torrents (stable builds)" | 20 | pkgdesc="Stream free movies and TV shows from torrents" |
21 | arch=('x86_64') | 21 | arch=('x86_64') |
22 | url="https://popcorntime.app" | 22 | url="https://popcorntime.app/" |
23 | license=('GPL3') | 23 | license=('GPL3') |
24 | depends=('nss' 'ttf-font' 'libxss' 'gconf' 'gtk2' 'gtk3') | 24 | depends=('nss' 'ttf-font' 'libxss' 'gconf' 'gtk2' 'gtk3') |
25 | makedepends=('unzip') | ||
25 | provides=('popcorntime' 'popcorn-time-ce' 'popcorntime-ci-bin' 'popcorntime-stable-bin') | 26 | provides=('popcorntime' 'popcorn-time-ce' 'popcorntime-ci-bin' 'popcorntime-stable-bin') |
26 | conflicts=('popcorntime') | 27 | conflicts=('popcorntime') |
27 | options=('!strip') | 28 | options=('!strip') |
28 | source=("${_pkgname}.desktop" "https://get.popcorntime.app/build/Popcorn-Time-${pkgver}-Linux-64.tar.xz") | 29 | _zipfile="Popcorn-Time-${pkgver}-linux64.zip" |
29 | sha512sums=('7e6538a7b39465439a62cb089510b6d85a65ad4bfa74d21b692363d1176ee94165ab7b5fef5f3470bf821cfc9f3b3a23763b8e3d8530420d7fa97c66083c3adb' | 30 | source=("https://get.popcorntime.app/build/$_zipfile" |
30 | '0fe3c1be064231134eacfb0be74266361ba5d521f0cda2848cad5357fe03d6603284e80ed3bdacdf0a012b415949b9603ff3dcf95b03693e2f7704d500ee9516') | 31 | "${_pkgname}.desktop" ) |
32 | sha256sums=('e167c42ffa49d5bf9f530ad998275dbcf38195bd0b10a121922d91dd528d546c' | ||
33 | '4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334') | ||
31 | 34 | ||
32 | package() { | 35 | package() { |
33 | install -dm755 "${pkgdir}/usr/share/${_pkgname}" | 36 | install -dm755 "${pkgdir}/usr/share/${_pkgname}" |
34 | install -dm755 "${pkgdir}/usr/bin" | 37 | install -dm755 "${pkgdir}/usr/bin" |
35 | 38 | ||
36 | # Link to program | 39 | # Link to program |
37 | ln -s "/usr/share/${_pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/${_pkgname}" | 40 | ln -s "../share/${_pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/${_pkgname}" |
38 | 41 | ||
39 | # Desktop file | 42 | # Desktop file |
40 | install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" | 43 | install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" |
@@ -43,12 +46,13 @@ package() { | |||
43 | install -Dm644 "${srcdir}/src/app/images/icon.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${_pkgname}.png" | 46 | install -Dm644 "${srcdir}/src/app/images/icon.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${_pkgname}.png" |
44 | 47 | ||
45 | # Remove makepkg-created symlinks before copying content | 48 | # Remove makepkg-created symlinks before copying content |
46 | rm *.tar.xz *.desktop | 49 | rm "$_zipfile" "${_pkgname}.desktop" |
47 | 50 | ||
48 | # Move library files to /usr/lib/popcorntime | 51 | # Move library files to /usr/lib/popcorntime |
49 | install -d "${pkgdir}/usr/lib/${_pkgname}/${pkgver}" | 52 | install -d "${pkgdir}/usr/lib/${_pkgname}/${pkgver}" |
50 | mv "${srcdir}"/lib/* "${pkgdir}/usr/lib/${_pkgname}/${pkgver}" | 53 | mv "${srcdir}"/lib/* "${pkgdir}/usr/lib/${_pkgname}/${pkgver}" |
51 | rmdir "${srcdir}"/lib/ | 54 | rmdir "${srcdir}"/lib |
55 | |||
52 | install -d "${pkgdir}/etc/ld.so.conf.d" | 56 | install -d "${pkgdir}/etc/ld.so.conf.d" |
53 | echo "/usr/lib/${_pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf" | 57 | echo "/usr/lib/${_pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf" |
54 | 58 | ||