Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST illuminate-contracts-12.33.0.tar.gz 24821 BLAKE2B d073464510e60262a4e5abdd065e3846357efc2a2eef547dee04bb4885fa3b83bcc96f34fc6a547df06add05098bfe9d3483f52ea6fcae193064856413097062 SHA512 bf9615a33dd6d4dfbd4cc25c7b3cc7e3551284c2d3206db87cea585d61b16bb0fc28ef859b63374c5de416cbfb5d8405ac5eea9e9c43892847c2528e8ace8038
|
||||
EBUILD illuminate-contracts-12.33.0.ebuild 1319 BLAKE2B 158eec24e3ffab20beccc0611b6b2af0d7a0a881250b653f49ac8440283ad05a86e142cc204b8063aa8c8078f513663029012ce3de7eb9288e1dead7bdd797fc SHA512 0ae445665df9a99a16740761da48b7bbbb6749ca29cf276cdc980b3c1585eac6e374a2586a1d5a16336520e388b115bd364bb6beab234d433000f22e0853f167
|
||||
MISC metadata.xml 229 BLAKE2B a7500e29654409fac4c6e961836f79ab749bd1ca1156c6a2425a54c6fe6ab6b3bf7f199b5c305f4bb5de3552b89fa69eb0a5b68452edaa39c29e44ca8c1c4503 SHA512 5aba85273539f22876052bc9740eecb4f7963657a5942b4af1ab98c1454f207e6bbcfea985d0968d47542efcdc75af4c013d188d84aed989eeccfc1a8a7ad182
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="The Illuminate Contracts package."
|
||||
HOMEPAGE="https://github.com/illuminate/contracts"
|
||||
SRC_URI="https://github.com/illuminate/contracts/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/contracts-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-7.4:*
|
||||
dev-php/fedora-autoloader
|
||||
dev-php/psr-container
|
||||
dev-php/psr-simple-cache
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--quiet \
|
||||
--output autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir . \
|
||||
. \
|
||||
|| die
|
||||
|
||||
VENDOR_DIR="${EPREFIX}/usr/share/php"
|
||||
cat >> autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
"${VENDOR_DIR}/Fedora/Autoloader/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Container/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/SimpleCache/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Illuminate/Contracts"
|
||||
doins -r *.php Auth Broadcasting Bus Cache Concurrency Config Console Container Cookie Database Debug Encryption Events Filesystem Foundation Hashing Http Log Mail Notifications Pagination Pipeline Process Queue Redis Routing Session Support Translation Validation View
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">illuminate/contracts</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user