diff options
author | Giovanni Santini | 2016-06-07 23:41:51 +0200 |
---|---|---|
committer | Giovanni Santini | 2016-06-07 23:41:51 +0200 |
commit | ba7e3cf5b655f21d9e3fb97fc38bb2559ce451a6 (patch) | |
tree | 18d131a8a430c4b6f286188883f7dfbbf09e2f59 | |
parent | 3a37364c1882ce141d4bd3f3ade90dddfe78ba19 (diff) | |
download | aur-ba7e3cf5b655f21d9e3fb97fc38bb2559ce451a6.tar.gz |
upgpkg: popcorntime 0.3.9-4
Fixing startup issue
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 17 insertions, 17 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri May 20 14:24:56 UTC 2016 +# Tue Jun 7 21:41:51 UTC 2016 pkgbase = popcorntime pkgdesc = Stream movies from torrents. Skip the downloads. Launch, click, watch. pkgver = 0.3.9 - pkgrel = 3 + pkgrel = 4 url = http://popcorntime.sh/ arch = i686 arch = x86_64 @@ -22,9 +22,9 @@ pkgbase = popcorntime depends = ttf-font optdepends = net-tools: vpn.ht client options = !strip - source = popcorn-desktop_0.3.9.tar.gz::https://github.com/popcorn-official/popcorn-desktop/archive/18156908dd1580db889f6fcb3d8dfe0fd3214808.tar.gz + source = popcorn-desktop_0.3.9::git+https://github.com/popcorn-official/popcorn-desktop/#commit=4ba2060d19357ed85f16b862b70a0625b4286838 source = popcorntime.desktop - sha256sums = 31b893cbcd730a0bc3be81566fee4de8d40a7071df88fba473fe95f1b8b107fe + sha256sums = SKIP sha256sums = 4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334 pkgname = popcorntime @@ -9,7 +9,7 @@ pkgname=popcorntime pkgver=0.3.9 -pkgrel=3 +pkgrel=4 pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." arch=('i686' 'x86_64') url="http://popcorntime.sh/" @@ -34,37 +34,37 @@ optdepends=('net-tools: vpn.ht client') options=('!strip') #install="popcorntime.install" # Needed variables for sources downloads -_commit_hash="18156908dd1580db889f6fcb3d8dfe0fd3214808" +_commit_hash="4ba2060d19357ed85f16b862b70a0625b4286838" _pkgname="popcorn-desktop" source=( - "${_pkgname}_${pkgver}.tar.gz::https://github.com/popcorn-official/popcorn-desktop/archive/${_commit_hash}.tar.gz" + "${_pkgname}_${pkgver}::git+https://github.com/popcorn-official/popcorn-desktop/#commit=${_commit_hash}" "popcorntime.desktop" ) -sha256sums=('31b893cbcd730a0bc3be81566fee4de8d40a7071df88fba473fe95f1b8b107fe' +sha256sums=('SKIP' '4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334') # Useful variables for builds [ "$CARCH" = "i686" ] && _platform=linux32 [ "$CARCH" = "x86_64" ] && _platform=linux64 -_srcdir="${_pkgname}-${_commit_hash}" +_srcdir="${_pkgname}_${pkgver}" _bpath="${_srcdir}/build/Popcorn-Time/${_platform}" # Building the package prepare() { - cd "${_srcdir}" - - #export PYTHON=/usr/bin/python2 - - # Hacky way to only build - sed 's/gulp start/gulp build/g' -i package.json + cd "${srcdir}/${_srcdir}" + msg2 "Fix missing gulp..." + npm install gulp + msg2 "Installing npm dependencies..." npm install + msg2 "Installing bower dependencies..." + bower install } build() { - cd "${_srcdir}" + cd "${srcdir}/${_srcdir}" - npm start + gulp build } package() { |