mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
25 lines
633 B
Bash
25 lines
633 B
Bash
# 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
|
|
inherit vcs-snapshot
|
|
EGIT_COMMIT="${PV:0:4}-${PV:4:2}-${PV:6:2}"
|
|
SRC_URI="https://gitlab.com/exploit-database/exploitdb-papers/-/archive/${EGIT_COMMIT}/exploitdb-${EGIT_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
|
|
KEYWORDS="amd64 x86"
|
|
else
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://gitlab.com/exploit-database/exploitdb-papers.git"
|
|
fi
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
|
|
src_install() {
|
|
insinto "/usr/share/${PN}"
|
|
doins -r *
|
|
}
|