blob: 84aaf7dc9222c0c5018951b1d00eb7f6eb27320f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Vladimir Borisov <vladimir@stremio.com>
# Contributor: Prasad Kumar
_pkgname=stremio
pkgname=${_pkgname}-beta
pkgver=4.4.168
pkgrel=0
pkgdesc="Watch videos, movies, TV series and TV channels instantly. (Beta Version)"
arch=(any)
url="https://www.stremio.com"
license=("MIT")
groups=()
depends=("nodejs" "ffmpeg" "qt5-webengine" "qt5-webchannel" "qt5-declarative" "qt5-quickcontrols" "qt5-quickcontrols2" "qt5-translations" "mpv" "openssl")
makedepends=("git" "wget" "qt5-tools" "librsvg" "cmake")
provides=("${pkgname}")
conflicts=("${pkgname}" "stremio-legacy" "stremio")
install=${_pkgname}.install
source=("${_pkgname}::git+https://github.com/Stremio/stremio-shell.git#tag=v${pkgver}")
noextract=()
md5sums=("SKIP")
pkgver() {
cd "$srcdir/${_pkgname}"
grep -oPm1 'VERSION=\K.+' stremio.pro
# Git, tags available
#printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare() {
cd "$srcdir/${_pkgname}"
git submodule update --init
make -f release.makefile clean
}
build() {
cd "$srcdir/${_pkgname}"
make -f release.makefile PREFIX="$pkgdir"
}
package() {
cd "$srcdir/${_pkgname}"
export PREFIX="$pkgdir";
make -f release.makefile install
}
|