-
Notifications
You must be signed in to change notification settings - Fork 1
/
enpass-6.9.1.1511.ebuild
53 lines (42 loc) · 1.39 KB
/
enpass-6.9.1.1511.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2022 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# To check if there's a new version available:
# curl -so- https://apt.enpass.io/dists/stable/main/binary-amd64/Packages.gz | zegrep "Package|Version|Depends" | head -n 3
EAPI=8
inherit unpacker gnome2-utils xdg-utils
DESCRIPTION="Description: A cross-platform, complete password management solution that securely manages passwords and all other life important credentials like bank accounts, Credit cards, IDs, passport, driving licenses etc. Everything is saved locally on user device and optionally he can sync through other devices using his accounts of Dropbox, Box, Google Drive, OneDrive and ownCloud."
HOMEPAGE="https://www.enpass.io/"
SRC_URI="https://apt.enpass.io/pool/main/e/${PN}/${PN}_${PV}_amd64.deb"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
# Depends: libxss1, lsof, curl, libxkbcommon-x11-0, libxcb-xinerama0, libxcb-xinput-dev
RDEPEND="
net-misc/curl[adns]
sys-process/lsof
x11-libs/libXScrnSaver
x11-libs/libXinerama
x11-libs/libxcb
x11-libs/libxkbcommon
"
S=${WORKDIR}
src_install () {
dodir /
cd "${ED}" || die
unpacker
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}