summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-12 02:20:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-12 05:25:34 -0300
commit8441e0301defd60f1d9525ee630511040a3bb457 (patch)
treec1c71aded3a067b10bc05a18a4ea10ad4e1a3b0d /pcr
parent345b8c4070212e489cfc754155bc8dfea4db17b3 (diff)
popcorntime-0.3.7.2-1.1: replace ttf-font to ttf-liberation to solve font issue -> https://github.com/nwjs/nw.js/issues/1577#issuecomment-49963627
Diffstat (limited to 'pcr')
-rw-r--r--pcr/popcorntime/PKGBUILD15
-rw-r--r--pcr/popcorntime/popcorntime.install12
2 files changed, 6 insertions, 21 deletions
diff --git a/pcr/popcorntime/PKGBUILD b/pcr/popcorntime/PKGBUILD
index 0ab0ab9a2..d1653b2aa 100644
--- a/pcr/popcorntime/PKGBUILD
+++ b/pcr/popcorntime/PKGBUILD
@@ -7,22 +7,20 @@
pkgname=popcorntime
pkgver=0.3.7.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch."
arch=('i686' 'x86_64')
url="http://popcorntime.io/"
license=('GPL3')
-makedepends=('git' 'nodejs-grunt-cli' 'nodejs-bower')
-depends=('alsa-lib' 'gconf' 'gtk2' 'nss' 'ttf-font' 'libxtst')
+makedepends=('git' 'nodejs-grunt-cli' 'nodejs-bower' 'npm')
+depends=('alsa-lib' 'gconf' 'gtk2' 'nss' 'ttf-liberation' 'libxtst')
optdepends=('net-tools: vpn.ht client')
options=('!strip')
-install="popcorntime.install"
_gitname=desktop.git
_nw_ver=0.9.2
md5sums=('5b3ddb62787e9ed381105b56626974bb'
- 'SKIP'
+ 'c2934ff1ce2e40c086449b0465df42c3'
'fc25eb312257b8c7e04e8e59c973566e'
- 'efe872f41ed74a706308b4015e4fd82f'
'9608f35f4cc083a0c36b0f4ef275ab10')
_platform=linux64
@@ -37,15 +35,14 @@ _nw_file=node-webkit-v${_nw_ver}-${_nw_platform}.tar.gz
source=("desktop-v${pkgver}.tar.bz2::https://git.popcorntime.io/popcorntime/desktop/repository/archive.tar.bz2?ref=v${pkgver}"
"desktop-i18n-master.tar.bz2::https://git.popcorntime.io/popcorntime/desktop-i18n/repository/archive.tar.bz2?ref=master"
"http://cdn.popcorntime.io/nw/v${_nw_ver}/${_nw_file}"
- "popcorntime.install"
"popcorntime.desktop")
prepare() {
cd "${srcdir}/${_gitname}"
-
+
# https://git.popcorntime.io/popcorntime/desktop/commit/6f1864cb00b0af4da062391de04206f9495c88b0
sed -i "s|git+https://git.popcorntime.io/mirrors/peerflix.git|https://git.popcorntime.io/mirrors/peerflix/repository/archive.tar.gz|g" package.json
-
+
cp "${srcdir}"/desktop-i18n.git/* src/app/language
mkdir -p "${srcdir}/${_gitname}/build/cache/${_platform}/${_nw_ver}/"
diff --git a/pcr/popcorntime/popcorntime.install b/pcr/popcorntime/popcorntime.install
deleted file mode 100644
index bd924b2be..000000000
--- a/pcr/popcorntime/popcorntime.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- echo
- echo "WARNING: Popcorn Time streams movies from Torrents"
- echo "Downloading copyrighted material may be illegal in your country!"
- echo "Use at your own risk!"
-}
-
-post_upgrade() {
- post_install
-}
-
-# vim:set ts=2 sw=2 et: