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 | |
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')
-rw-r--r-- | net-misc/yandex-disk/Manifest | 2 | ||||
-rw-r--r-- | net-misc/yandex-disk/yandex-disk-0.1.5.978_p1.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/yandex-disk/Manifest b/net-misc/yandex-disk/Manifest index 989c7ba1d0f9..31d652f5da8e 100644 --- a/net-misc/yandex-disk/Manifest +++ b/net-misc/yandex-disk/Manifest @@ -1,2 +1,4 @@ DIST yandex-disk-0.1.5.940-1.fedora.i386.rpm 4551033 SHA256 215d14af442651d2268b64abd9f5593c033f3af7a301f6c1f2c693149c626007 SHA512 40438b9b079c3f1fc9c23794abd320b552f9f77c0f7aa4972fd2de94f60b607bc067a56e00bb35597a505e087ecc6ec7089b90d87695320c685abbf4af735db4 WHIRLPOOL fdb9bd864a213a8b299352e465c6f8676f97da996bf9dcae51c08d5a7902172009fa94d4ab36cff28498fd1b2df335ea0d30f661f18a60c56dc612aa69fa9631 DIST yandex-disk-0.1.5.940-1.fedora.x86_64.rpm 4349853 SHA256 58f8beae3715893b2f982391107b819492ce6e7536c373c894e5bd0fbe3929b7 SHA512 0e52eb6275a349191b56d89a1e288c7112a8f93c31d4017787ede0a1fd7b69666f8425abb0309500361cbdd56e850e2380f74730d5ace97f1b3e4dd2c5eed6fb WHIRLPOOL 87f84e459bb9a02aa9a4e7cf745591db0bf97c29d1075bf64186e4fd49c00dd150dc03236c65d905f23f365438dd92650352ece435009561d8ea98bd711a520e +DIST yandex-disk-0.1.5.978-1.fedora.i386.rpm 4353188 SHA256 9dc940ae22998d973412a22ffa08610bbb61b6b2903719509c44b434470c0726 SHA512 59008f42463185fab2aed221b44283e57c279ef7fd0966732dc3b6a3f474104f2ca676d77e7d958f53bff38aac9c0f7ea82b25202fd9da5f0de62bb56a983319 WHIRLPOOL 4f731acc26f4f4ab9f819968ad4210719e86b24c36bff7c60bfb3332b40fc1f993e548ee366fe96c366fbda7f104194274648326f174a6630da0725e5f257b19 +DIST yandex-disk-0.1.5.978-1.fedora.x86_64.rpm 4534132 SHA256 66ee16250f1c0a8dcc56b29283f7d3508dcf31a5822e2b8702802fc972fd6bea SHA512 d4f22bf008767289abf95237aa86ae27b33b99c62ba89381c4ed73a510d8096c169c1c215274133cc7fdf885fb7d629e758cea5925f4afc5acf7b6d688bf0078 WHIRLPOOL 151be29a5739b8fb225c02c835b7ad321a917cd418f062ce0482b7896373550ef2c50feb3875d1bf949fcb64d690f2c4747e887677d718dd3c705e39c5c85128 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 +} |