37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
18 lines
539 B
Bash
18 lines
539 B
Bash
TERMUX_PKG_HOMEPAGE=https://getcomposer.org/
|
|
TERMUX_PKG_DESCRIPTION="Dependency Manager for PHP"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.0.8
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION
|
|
TERMUX_PKG_SRCURL=https://github.com/composer/composer.git
|
|
TERMUX_PKG_DEPENDS="php"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
termux_step_make_install() {
|
|
composer install
|
|
php -d phar.readonly=Off bin/compile
|
|
install -Dm700 composer.phar $TERMUX_PREFIX/bin/composer
|
|
}
|