diff options
author | xantares | 2015-07-14 10:37:36 +0200 |
---|---|---|
committer | xantares | 2015-07-14 10:37:36 +0200 |
commit | 68ffe33e8eb405d676c349217112dbea61d6c295 (patch) | |
tree | fd21e6e039c54cca92e91b1775a86ff17986ea5d /PKGBUILD | |
parent | 7138a4c7cf43a63195e13de81cba94176ded1118 (diff) | |
download | aur-68ffe33e8eb405d676c349217112dbea61d6c295.tar.gz |
fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Contributor: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu> pkgname=popcorntime-git -pkgver=r4591.101f883 +pkgver=r5140.702f376 pkgrel=1 pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." arch=('i686' 'x86_64') @@ -19,6 +19,7 @@ install="popcorntime.install" [ "$CARCH" = "i686" ] && _platform=linux32 [ "$CARCH" = "x86_64" ] && _platform=linux64 _gitname=desktop +_nw_ver=0.12.1 source=('popcorntime.install' "git+https://git.popcorntime.io/popcorntime/desktop.git" @@ -43,7 +44,10 @@ prepare() { build() { cd "${srcdir}/${_gitname}" - grunt build + + # FIXME: fails the first time: + # Fatal error: Cannot read property 'length' of undefined + grunt build || grunt build } package() { @@ -58,6 +62,7 @@ package() { install -Dm755 "${_bpath}/Popcorn-Time" "${pkgdir}/usr/lib/popcorntime/" install -Dm644 "${_bpath}/nw.pak" "${pkgdir}/usr/lib/popcorntime/" install -Dm644 "${_bpath}/libffmpegsumo.so" "${pkgdir}/usr/lib/popcorntime/" + install -Dm644 "${srcdir}/${_gitname}/build/cache/${_platform}/${_nw_ver}/icudtl.dat" "${pkgdir}/usr/lib/popcorntime/" # Link to program mkdir -p "${pkgdir}/usr/bin" |