void-packages/srcpkgs/composer8.3/template

28 lines
935 B
Bash
Raw Normal View History

2023-12-17 05:14:45 +01:00
# Template file for 'composer8.3'
pkgname=composer8.3
version=2.6.6
revision=1
build_style=fetch
depends="php8.3"
short_desc="Dependency manager for PHP"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
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="72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
alternatives="composer:composer:/usr/bin/composer8.3"
do_install() {
vbin ${FILESDIR}/composer8.3
vinstall composer.phar 644 usr/libexec composer.phar8.3
vlicense LICENSE
vmkdir /etc/php8.3/conf.d
printf 'extension=%s\n' phar iconv openssl zip \
>${DESTDIR}/etc/php8.3/conf.d/composer.ini
}