forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-admin/bitwarden-desktop-bin: new package
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Michael Palimaka <[email protected]>
- Loading branch information
Michael Palimaka
committed
Nov 5, 2020
1 parent
c6c4d90
commit d4dfb03
Showing
3 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST Bitwarden-1.22.2-amd64.deb 47983282 BLAKE2B f84bdfb44803fc13292b4fdd8653a9217efcfea08ed58407929d3061bce436727f1ec86ff99e6b968de17510ddb0aaeb2781beaae198661d30496050db90cf3f SHA512 131e49ef2dc74b601e31eb6a07da92ae43747c4fdf4729b84fb35f95c4bc38731e6b6f9185b919ede5c7c2cd4813dbddaea172d1287cd60f747b3032e12c09e9 |
77 changes: 77 additions & 0 deletions
77
app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-1.22.2.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit unpacker xdg-utils | ||
|
||
MY_PN="Bitwarden" | ||
DESCRIPTION="Bitwarden password manager desktop client" | ||
HOMEPAGE="https://bitwarden.com/" | ||
SRC_URI="https://github.com/bitwarden/desktop/releases/download/v${PV}/Bitwarden-${PV}-amd64.deb" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
app-accessibility/at-spi2-atk:2 | ||
app-accessibility/at-spi2-core:2 | ||
dev-libs/atk | ||
dev-libs/expat | ||
dev-libs/glib | ||
dev-libs/nspr | ||
dev-libs/nss | ||
media-libs/alsa-lib | ||
net-print/cups | ||
sys-apps/dbus | ||
sys-apps/util-linux | ||
x11-libs/cairo | ||
x11-libs/gdk-pixbuf:2 | ||
x11-libs/gtk+:3 | ||
x11-libs/libX11 | ||
x11-libs/libxcb | ||
x11-libs/libXcomposite | ||
x11-libs/libXcursor | ||
x11-libs/libXdamage | ||
x11-libs/libXext | ||
x11-libs/libXfixes | ||
x11-libs/libXi | ||
x11-libs/libXrandr | ||
x11-libs/libXrender | ||
x11-libs/libXScrnSaver | ||
x11-libs/libXtst | ||
x11-libs/pango | ||
" | ||
|
||
S="${WORKDIR}" | ||
|
||
QA_PREBUILT=" | ||
opt/Bitwarden/*.so | ||
opt/Bitwarden/bitwarden | ||
opt/Bitwarden/chrome-sandbox | ||
" | ||
|
||
src_install() { | ||
insinto /opt | ||
doins -r opt/${MY_PN} | ||
fperms 755 /opt/Bitwarden/bitwarden | ||
fperms 4755 /opt/Bitwarden/chrome-sandbox | ||
|
||
insinto /usr/share/applications | ||
doins usr/share/applications/bitwarden.desktop | ||
|
||
insinto /usr/share/icons | ||
doins -r usr/share/icons/hicolor | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_desktop_database_update | ||
xdg_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
xdg_desktop_database_update | ||
xdg_icon_cache_update | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">bitwarden/desktop</remote-id> | ||
</upstream> | ||
</pkgmetadata> |