void-packages/srcpkgs/composer8.1/template

27 lines
881 B
Bash
Raw Normal View History

2022-03-15 20:29:23 +01:00
# Template file for 'composer8.1'
pkgname=composer8.1
2022-06-10 14:13:15 +02:00
version=2.3.7
2022-03-15 20:29:23 +01:00
revision=1
build_style=fetch
depends="php8.1"
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"
2022-06-10 14:13:15 +02:00
checksum="3f2d46787d51070f922bf991aa08324566f726f186076c2a5e4e8b01a8ea3fd0
2022-03-15 20:29:23 +01:00
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
do_install() {
vbin ${FILESDIR}/composer8.1
vinstall composer.phar 644 usr/libexec composer.phar8.1
vlicense LICENSE
vmkdir /etc/php8.1/conf.d
printf 'extension=%s\n' phar iconv openssl zip \
>${DESTDIR}/etc/php8.1/conf.d/composer.ini
}