mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
dev-php/metadata-minifier: new package
Needed for dev-php/composer. Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
1
dev-php/metadata-minifier/Manifest
Normal file
1
dev-php/metadata-minifier/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST metadata-minifier-1.0.0.tar.gz 2505 BLAKE2B 0312338b7d0c4b2c679c8bb054d11a785495faa8bc20c078ece89cbbfe8cfb7a8944eb248e7adc772c8309f416fcff5c81d920f35b4712f45bd4a7c7eb1291e7 SHA512 19915f67e8a00595e5582f7be8edbc22b322ce3d4c9e687105ea83c4789b9590c5cef967ee8a5614e938e13e262585e7377fc1e45f3a3e05340bf8ddcfe8fc72
|
||||
35
dev-php/metadata-minifier/metadata-minifier-1.0.0.ebuild
Normal file
35
dev-php/metadata-minifier/metadata-minifier-1.0.0.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Small utility library that handles metadata minification and expansion"
|
||||
HOMEPAGE="https://github.com/composer/metadata-minifier"
|
||||
SRC_URI="https://github.com/composer/metadata-minifier/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.2:*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto '/usr/share/php/Composer/MetadataMinifier'
|
||||
doins -r src/*
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
10
dev-php/metadata-minifier/metadata.xml
Normal file
10
dev-php/metadata-minifier/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">composer/metadata-minifier</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user