From 1738530510e37fd81057ecd599effc32b58e2447 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Wed, 30 Jun 2021 20:02:09 +0200 Subject: [PATCH] add wire-desktop ebuild --- net-im/wire-desktop/Manifest | 2 + .../wire-desktop-3.26.2941.ebuild | 49 +++++++++++++++++++ .../package.accept_keywords/wire-desktop | 1 + 3 files changed, 52 insertions(+) create mode 100644 net-im/wire-desktop/Manifest create mode 100644 net-im/wire-desktop/wire-desktop-3.26.2941.ebuild create mode 100644 profiles/targets/desktop/package.accept_keywords/wire-desktop diff --git a/net-im/wire-desktop/Manifest b/net-im/wire-desktop/Manifest new file mode 100644 index 0000000..4edb163 --- /dev/null +++ b/net-im/wire-desktop/Manifest @@ -0,0 +1,2 @@ +DIST Wire-3.26.2941_amd64.deb 57516924 BLAKE2B de16f32b56399c9e7b559f394d4d6c40434c3face658c935cfe86424d5eee568784ab6fb92dcc7ceb42dc68485e8fbffdd8aae72e01daf99fca635fd9580bbbd SHA512 a39abf227bb8f6e9961e54560261ffec5a537f5d128f41c542dabcb4ef494172ab796d0811c3862892041985c5f24dc1f5dbf37b0bb6fffa92f891687e8715e2 +EBUILD wire-desktop-3.26.2941.ebuild 1066 BLAKE2B 48167e48cf2c2f03ec4fe7b6102496d21714861f9f6e880c0b36740f54ea5dbbbe66d1f836d4961026a41f8830189641c6f56a5d58a3b92347fa470853eb2a43 SHA512 778663f51e7210543fa7bcc7c2bac5486b071673adeef67e26bf54d33c4d97bfc75179cb51850a6d94696bb87864b3b5d65813d14c3e6f29e459f83025996165 diff --git a/net-im/wire-desktop/wire-desktop-3.26.2941.ebuild b/net-im/wire-desktop/wire-desktop-3.26.2941.ebuild new file mode 100644 index 0000000..6dd5b13 --- /dev/null +++ b/net-im/wire-desktop/wire-desktop-3.26.2941.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg-utils + +DESCRIPTION="Wire desktop client" +HOMEPAGE="https://wire.com/" +SRC_URI="https://github.com/wireapp/wire-desktop/releases/download/linux/${PV}/Wire-${PV}_amd64.deb" + +LICENSE="GPL-3 MIT BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +S=${WORKDIR} + +src_unpack() { + default + unpack ./data.tar.xz + rm data.tar.xz control.tar.gz debian-binary +} + +src_install() { + domenu usr/share/applications/wire-desktop.desktop + doicon --size 32 usr/share/icons/hicolor/32x32/apps/wire-desktop.png + doicon --size 256 usr/share/icons/hicolor/256x256/apps/wire-desktop.png + dodoc -r usr/share/doc/wire-desktop/* + insinto /opt + doins -r opt/Wire + dosym /opt/Wire/wire-desktop /usr/bin/wire-desktop + + docompress -x /usr/share/doc/${P}/changelog.gz + fperms 0755 /opt/Wire/wire-desktop +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/profiles/targets/desktop/package.accept_keywords/wire-desktop b/profiles/targets/desktop/package.accept_keywords/wire-desktop new file mode 100644 index 0000000..9b123e6 --- /dev/null +++ b/profiles/targets/desktop/package.accept_keywords/wire-desktop @@ -0,0 +1 @@ +net-im/wire-desktop