summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2016-12-01 21:18:39 +0100
committerGiovanni Santini2016-12-01 21:18:39 +0100
commitb5a12d6cce87a0beb2d0f6db5b2a5477997acba2 (patch)
tree6c5dff462a59d48e1a5e98bf6dcb9bbe26d6d093
parent5fd84a77e039f751d1f765145b6bc21c264067f6 (diff)
downloadaur-b5a12d6cce87a0beb2d0f6db5b2a5477997acba2.tar.gz
upgpkg: popcorntime 0.3.10-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD21
2 files changed, 17 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1562cbd701c..2e5fde3e173 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Jun 10 06:22:42 UTC 2016
+# Thu Dec 1 20:18:39 UTC 2016
pkgbase = popcorntime
pkgdesc = Stream movies from torrents. Skip the downloads. Launch, click, watch.
- pkgver = 0.3.9
- pkgrel = 5
+ pkgver = 0.3.10
+ pkgrel = 1
url = http://popcorntime.sh/
arch = i686
arch = x86_64
@@ -22,7 +22,7 @@ pkgbase = popcorntime
depends = ttf-font
optdepends = net-tools: vpn.ht client
options = !strip
- source = popcorn-desktop_0.3.9::git+https://github.com/popcorn-official/popcorn-desktop/#commit=65fc7c322bf92c5b526c1c1042e87ce0d0e6e085
+ source = popcorn-desktop_0.3.10::git+https://github.com/popcorn-official/popcorn-desktop/#tag=0.3.10
source = popcorntime.desktop
sha256sums = SKIP
sha256sums = 4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334
diff --git a/PKGBUILD b/PKGBUILD
index af4c2d50621..415a99d3a15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,8 @@
# Contributor: Ricardo Band <me [at] xengi [dot] de>
pkgname=popcorntime
-pkgver=0.3.9
-pkgrel=5
+pkgver=0.3.10
+pkgrel=1
pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch."
arch=('i686' 'x86_64')
url="http://popcorntime.sh/"
@@ -34,10 +34,11 @@ optdepends=('net-tools: vpn.ht client')
options=('!strip')
#install="popcorntime.install"
# Needed variables for sources downloads
-_commit_hash="65fc7c322bf92c5b526c1c1042e87ce0d0e6e085"
+_commit_hash="tag=0.3.10"
+
_pkgname="popcorn-desktop"
source=(
- "${_pkgname}_${pkgver}::git+https://github.com/popcorn-official/popcorn-desktop/#commit=${_commit_hash}"
+ "${_pkgname}_${pkgver}::git+https://github.com/popcorn-official/popcorn-desktop/#${_commit_hash}"
"popcorntime.desktop"
)
sha256sums=('SKIP'
@@ -54,10 +55,14 @@ prepare() {
cd "${srcdir}/${_srcdir}"
msg2 "Installing npm and bower dependencies..."
- npm install
-
- msg2 "Fixing wrong gulp installation issue..."
- npm install gulp
+ # Using a different folder for the cache, makes the system cleaner
+ _cache=`npm config get cache`
+ npm config set cache "$srcdir/npm_cache"
+ # Actually install the stuff
+ msg2 "Cache changed from $_cache to `npm config get cache`, ready to install"
+ npm install #-dd install
+ # Restore the cache directory
+ npm config set cache ${_cache}
}
build() {