blob: 6245afc2c512570562c45dfc0f2737f031e70c8c (
plain) (
tree)
|
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Realistic PHP password strength estimate library based on Zxcvbn JS"
HOMEPAGE="https://github.com/bjeavons/zxcvbn-php"
SRC_URI="https://github.com/bjeavons/zxcvbn-php/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND=">=dev-lang/php-7.2[gmp]"
S="${WORKDIR}/zxcvbn-php-${PV}"
src_install() {
insinto "/usr/share/php/ZxcvbnPhp/"
doins -r src/.
dodoc README.md
}
|