diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 54 | ||||
-rw-r--r-- | stremio.desktop | 9 | ||||
-rw-r--r-- | stremio.install | 12 |
4 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cf5310496bad --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = stremio-bin + pkgdesc = Watch instantly all the video content you enjoy in one place. + pkgver = 3.2.2 + pkgrel = 1 + url = https://strem.io + install = stremio.install + arch = x86_64 + license = custom + source = https://strem.io/Stremio3.2.0.linux.tar.gz + source = http://www.strem.io/Stremio3.2.2.asar.gz + source = https://strem.io/favicon-32x32.png + source = https://strem.io/favicon-96x96.png + source = stremio.desktop + md5sums = 11981206cd3e4b477c1080ed52585c87 + md5sums = f75de8e063a860c3691d74f13efe5a35 + md5sums = 17a3ae27d06908138317c3a9b8d03898 + md5sums = e3b38592637449733618d73b45293b09 + md5sums = 218fad56add848a58785d68dbfae02ae + +pkgname = stremio-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e16889f4ddc8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Pieter Goetschalckx <3.14.e.ter at gmail dot com> + +pkgname=stremio-bin +pkgver=3.2.2 +_basever=3.2.0 +pkgrel=1 +pkgdesc="Watch instantly all the video content you enjoy in one place." +arch=('x86_64') +url="https://strem.io" +license=('custom') +install=stremio.install +source=("https://strem.io/Stremio${_basever}.linux.tar.gz" + "http://www.strem.io/Stremio${pkgver}.asar.gz" + "https://strem.io/favicon-32x32.png" + "https://strem.io/favicon-96x96.png" + "stremio.desktop") +md5sums=('11981206cd3e4b477c1080ed52585c87' + 'f75de8e063a860c3691d74f13efe5a35' + '17a3ae27d06908138317c3a9b8d03898' + 'e3b38592637449733618d73b45293b09' + '218fad56add848a58785d68dbfae02ae') + +prepare() { + sed -i "s#\$(dirname \$0)#/usr/share/stremio#" Stremio.sh + mv "Stremio${pkgver}.asar" "resources/app.asar" +} + +package() { + install -Dm644 stremio.desktop "$pkgdir/usr/share/applications/stremio.desktop" + install -Dm644 favicon-32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/stremio.png" + install -Dm644 favicon-96x96.png "$pkgdir/usr/share/icons/hicolor/96x96/apps/stremio.png" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/stremio/LICENSE" + install -Dm755 Stremio.sh "$pkgdir/usr/bin/stremio" + + install -dm755 "$pkgdir/usr/share/stremio" + + install -Dm644 content_shell.pak "$pkgdir/usr/share/stremio/" + install -Dm644 icudtl.dat "$pkgdir/usr/share/stremio/" + install -Dm644 libgcrypt.so.11 "$pkgdir/usr/share/stremio/" + install -Dm644 libnode.so "$pkgdir/usr/share/stremio/" + install -Dm644 libnotify.so.4 "$pkgdir/usr/share/stremio/" + install -Dm644 natives_blob.bin "$pkgdir/usr/share/stremio/" + install -Dm644 snapshot_blob.bin "$pkgdir/usr/share/stremio/" + install -Dm755 Stremio-runtime "$pkgdir/usr/share/stremio/" + install -Dm644 version "$pkgdir/usr/share/stremio/" + + cp -pr locales "$pkgdir/usr/share/stremio/" + cp -pr resources "$pkgdir/usr/share/stremio/" + cp -pr WCjs "$pkgdir/usr/share/stremio/" +} + +# vim:set ts=2 sw=2 et: + diff --git a/stremio.desktop b/stremio.desktop new file mode 100644 index 000000000000..fe4a103c3aab --- /dev/null +++ b/stremio.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Stremio +GenericName=Media Center +Comment=Watch instantly all the video content you enjoy in one place +Icon=stremio +TryExec=stremio +Exec=stremio +Categories=AudioVideo;Video;Player; diff --git a/stremio.install b/stremio.install new file mode 100644 index 000000000000..5bca2b7ee8ee --- /dev/null +++ b/stremio.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |