summaryrefslogtreecommitdiff
path: root/app-crypt/eobcanka/eobcanka-3.3.0.ebuild
blob: 5c7751cbe5d5e0902e1d715865d42bf64258b27a (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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit unpacker xdg

DESCRIPTION="Applications and libraries for the Czech eObcanka identity card."
HOMEPAGE="https://info.identitaobcana.cz/eop"
SRC_URI="https://info.identitaobcana.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"
}