Commit 09c48d80 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play popcorn-time

parent 0292f6fa
#!/bin/sh
PKGNAME=Popcorn-Time
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player'
URL="https://github.com/popcorn-official/popcorn-desktop"
. $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest https://github.com/popcorn-official/popcorn-desktop/releases "Popcorn-Time-$VERSION-amd64.deb")
# repack always, ever for deb system (bad postinst script)
install_pkgurl --repack
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=Popcorn-Time
PRODUCTCUR=popcorn-time
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common-chromium-browser.sh
chmod -v -R a+rX .$PRODUCTDIR
add_bin_link_command $PRODUCT
add_bin_link_command $PRODUCTCUR $PRODUCT
fix_chrome_sandbox
fix_desktop_file
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment