mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
New package: composer8.4-2.8.4
This commit is contained in:
parent
f065754005
commit
a189448861
2 changed files with 29 additions and 0 deletions
2
srcpkgs/composer8.4/files/composer8.4
Normal file
2
srcpkgs/composer8.4/files/composer8.4
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
php8.4 /usr/libexec/composer.phar8.4 "$@"
|
27
srcpkgs/composer8.4/template
Normal file
27
srcpkgs/composer8.4/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'composer8.4'
|
||||||
|
pkgname=composer8.4
|
||||||
|
version=2.8.4
|
||||||
|
revision=1
|
||||||
|
build_style=fetch
|
||||||
|
depends="php8.4"
|
||||||
|
short_desc="Dependency manager for PHP"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://getcomposer.org/"
|
||||||
|
changelog="https://raw.githubusercontent.com/composer/composer/main/CHANGELOG.md"
|
||||||
|
distfiles="https://github.com/composer/composer/releases/download/${version}/composer.phar
|
||||||
|
https://raw.githubusercontent.com/composer/composer/main/LICENSE"
|
||||||
|
checksum="c4c4e2e1beab0ea04e0bd042a5dbba9feda1fbf5eda0d36203958edd343c0a8a
|
||||||
|
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
|
||||||
|
alternatives="composer:composer:/usr/bin/composer8.4"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin ${FILESDIR}/composer8.4
|
||||||
|
|
||||||
|
vinstall composer.phar 644 usr/libexec composer.phar8.4
|
||||||
|
vlicense LICENSE
|
||||||
|
|
||||||
|
vmkdir /etc/php8.4/conf.d
|
||||||
|
printf 'extension=%s\n' phar iconv openssl zip \
|
||||||
|
>${DESTDIR}/etc/php8.4/conf.d/composer.ini
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue