# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Exploit database's papers" HOMEPAGE="https://www.exploit-db.com/" if [[ ${PV} != *9999 ]]; then EGIT_COMMIT="${PV:0:4}-${PV:4:2}-${PV:6:2}" SRC_URI="https://github.com/offensive-security/exploitdb-papers/archive/refs/tags/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${EGIT_COMMIT}" KEYWORDS="amd64 x86" else inherit git-r3 EGIT_REPO_URI="https://github.com/offensive-security/exploitdb-papers" fi LICENSE="GPL-2" SLOT="0" src_install() { insinto "/usr/share/${PN}" doins -r * }