termux-packages/packages/php-psr/build.sh

18 lines
712 B
Bash
Raw Normal View History

2021-08-02 09:32:15 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/jbboehr/php-psr
TERMUX_PKG_DESCRIPTION="PHP extension providing the accepted PSR interfaces"
2021-08-02 10:22:07 +02:00
TERMUX_PKG_LICENSE="BSD Simplified"
2021-08-02 09:32:15 +02:00
TERMUX_PKG_MAINTAINER="ian4hu <hu2008yinxiang@163.com>"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_SRCURL=https://github.com/jbboehr/php-psr/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ceeaceb6424885cefd85713779fb5242ccf2274fe002f110b088297b83783ab2
TERMUX_PKG_DEPENDS=php
# php is (currently) blacklisted for x86_64. Need to blacklist
# php-psr as well for the same arch for
# ./build-package.sh -a all -i php-psr
# to succeed
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
termux_step_pre_configure() {
$TERMUX_PREFIX/bin/phpize
}