summaryrefslogtreecommitdiff
path: root/app-crypt/eobcanka/eobcanka-3.1.3.ebuild
blob: 32ff9d1b64b92dfa7332fcdeb6892c8ca39d40dd (plain)
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
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit unpacker xdg

DESCRIPTION="Applications and libraries for the Czech eObcanka identity card."
HOMEPAGE="https://info.eidentita.cz/eop"
SRC_URI="https://info.eidentita.cz/download/eObcanka.deb -> ${PN}-${PV}.deb"

LICENSE="Apache-2.0 LGPL-3 openssl eObcanka"
SLOT="0"
KEYWORDS="~amd64"

S="${WORKDIR}"

src_unpack() {
    unpack_deb ${A}
}
    
src_install() {
    cp -R "${WORKDIR}/usr" "${D}" || die "Installation failed"
    cp -R "${WORKDIR}/opt" "${D}" || die "Installation failed"
}