diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2017-07-17 15:12:09 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2017-07-17 15:13:01 +0300 |
commit | 48bf3abe61f2b6db3884637820fbe45ec9af50e6 (patch) | |
tree | 4ba7675d00756c4530ab1df76e2adbadbd0a23a9 /net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild | |
parent | x11-misc/xtitle: remove myself from maintainers (diff) | |
download | gentoo-48bf3abe61f2b6db3884637820fbe45ec9af50e6.tar.gz gentoo-48bf3abe61f2b6db3884637820fbe45ec9af50e6.tar.bz2 gentoo-48bf3abe61f2b6db3884637820fbe45ec9af50e6.zip |
net-misc/yandex-disk: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild')
-rw-r--r-- | net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild b/net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild new file mode 100644 index 000000000000..7f1a75788731 --- /dev/null +++ b/net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 eutils rpm + +MY_P="${PN}-${PV/_p/-}" + +DESCRIPTION="CLI to access Yandex Disk file storage service" +HOMEPAGE="https://disk.yandex.ru" +SRC_URI=" + amd64? ( http://repo.yandex.ru/yandex-disk/rpm/stable/x86_64/${MY_P}.fedora.x86_64.rpm ) + x86? ( http://repo.yandex.ru/yandex-disk/rpm/stable/i386/${MY_P}.fedora.i386.rpm ) +" + +LICENSE="YDSLA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +DEPEND="" +RDEPEND="sys-libs/zlib" + +S="${WORKDIR}" + +QA_PREBUILT="opt/bin/yandex-disk" + +src_prepare() { + # bug #526312 + sed -i \ + -e '/have /d' \ + -e 's/+o nospace/-o nospace/' \ + -e '/^complete/s/-X //' \ + etc/bash_completion.d/yandex-disk-completion.bash || die + + eapply_user +} + +src_install() { + exeinto /opt/bin + doexe usr/bin/yandex-disk + newbashcomp etc/bash_completion.d/yandex-disk-completion.bash "${PN}" + insinto /usr/share/man + doins -r usr/share/man/* + insinto /usr/share + doins -r usr/share/locale +} |