add wire-desktop ebuild

This commit is contained in:
Fredrik Eriksson 2021-06-30 20:02:09 +02:00
parent 1d4e786d0a
commit 1738530510
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D
3 changed files with 52 additions and 0 deletions

View File

@ -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

View File

@ -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
}

View File

@ -0,0 +1 @@
net-im/wire-desktop