/[gentoo-x86]/net-misc/yandex-disk/yandex-disk-0.1.5.870_p1.ebuild
Gentoo

Contents of /net-misc/yandex-disk/yandex-disk-0.1.5.870_p1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 25 12:18:24 2015 UTC (4 years, 5 months ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Version bump, drop old

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/yandex-disk/yandex-disk-0.1.5.758_p1.ebuild,v 1.2 2015/01/27 12:36:56 zlogene Exp $
4
5 EAPI=5
6
7 inherit bash-completion-r1 eutils rpm
8
9 MY_P="${PN}-${PV/_p/-}"
10
11 DESCRIPTION="CLI to access Yandex Disk file storage service"
12 HOMEPAGE="https://disk.yandex.ru"
13 SRC_URI="
14 amd64? ( http://repo.yandex.ru/yandex-disk/rpm/stable/x86_64/${MY_P}.fedora.x86_64.rpm )
15 x86? ( http://repo.yandex.ru/yandex-disk/rpm/stable/i386/${MY_P}.fedora.i386.rpm )
16 "
17
18 LICENSE="YDSLA"
19 SLOT="0"
20 KEYWORDS="-* ~amd64 ~x86"
21
22 DEPEND=""
23 RDEPEND="sys-libs/zlib"
24
25 S="${WORKDIR}"
26
27 QA_PREBUILT="opt/bin/yandex-disk"
28
29 src_prepare() {
30 # bug #526312
31 sed -i \
32 -e '/have /d' \
33 -e 's/+o nospace/-o nospace/' \
34 -e '/^complete/s/-X //' \
35 etc/bash_completion.d/yandex-disk-completion.bash || die
36
37 epatch_user
38 }
39
40 src_install() {
41 exeinto /opt/bin
42 doexe usr/bin/yandex-disk
43 newbashcomp etc/bash_completion.d/yandex-disk-completion.bash "${PN}"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20