Commit f7ec8fdc authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: added yandex-disk-indicator (eterbug #17976)

parent 750c105a
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
. $(dirname $0)/common.sh
# yandex-disk-indicator-1.12.2.tar.gz
BASENAME=$(basename $TAR .tar.gz)
VERSION=$(echo "$BASENAME" | sed -e 's|^yandex-disk-indicator-||')
erc unpack $TAR || fatal
cd * || fatal
export TARGET="usr"
mkdir "usr"
cd build
chmod +x prepare.sh
sh prepare.sh
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar usr || fatal
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=yandex-disk-indicator
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Panel indicator (GUI) for YandexDisk CLI client for Linux"
URL="https://github.com/slytomcat/yandex-disk-indicator"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
# Get latest version from vendor
VERSION="$(get_github_tag https://github.com/slytomcat/yandex-disk-indicator)"
fi
PKGURL="https://github.com/slytomcat/yandex-disk-indicator/archive/$VERSION.tar.gz"
install_pack_pkgurl
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
add_conflicts yandex-disk-indicator
add_provides "yandex-disk-indicator = %version"
add_libs_requires
add_unirequires "typelib(AyatanaAppIndicator3)"
if ! epm qa | grep 'yandex-disk' | grep -v 'indicator' ; then
epm play yandex-disk
fi
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