remove ia64 keywords
[gentoo-zh.git] / net-misc / baidunetdisk / baidunetdisk-4.3.0.ebuild
blob2201558e71288926b0a16fe568d273615cb84065
1 # Copyright 2020-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit unpacker desktop xdg
8 DESCRIPTION="Baidu Net Disk is a cloud storage client (Linux Version)"
9 HOMEPAGE="https://pan.baidu.com/"
10 SRC_URI="http://wppkg.baidupcs.com/issue/netdisk/Linuxguanjia/${PV}/${PN}_${PV}_amd64.deb"
12 LICENSE="BaiduNetDisk"
13 SLOT="0"
14 RESTRICT="strip mirror"
15 KEYWORDS="-* ~amd64"
17 QA_PREBUILT="*"
19 RDEPEND="
20 app-crypt/p11-kit
21 dev-libs/nss
22 media-libs/alsa-lib
23 x11-libs/gtk+:3[cups]
24 x11-libs/libXScrnSaver
25 x11-libs/libXtst
28 S="${WORKDIR}"
30 src_install() {
31 insinto /opt
32 doins -r opt/"${PN}"
33 fperms +x /opt/"${PN}"/"${PN}"
34 dosym -r /opt/{"${PN}"/"${PN}",bin/"${PN}"}
36 gzip -d usr/share/doc/"${PN}"/*.gz || die
37 dodoc usr/share/doc/"${PN}"/*
39 domenu usr/share/applications/"${PN}".desktop
40 doicon -s scalable usr/share/icons/hicolor/scalable/apps/"${PN}".svg