termux-packages/packages/php-psr/build.sh
Aditya Alok 18caefded3
feat(php-psr): enable auto-update, upgrade to 1.2.0
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-19 18:34:08 +05:30

15 lines
584 B
Bash
Executable File

TERMUX_PKG_HOMEPAGE=https://github.com/jbboehr/php-psr
TERMUX_PKG_DESCRIPTION="PHP extension providing the accepted PSR interfaces"
TERMUX_PKG_LICENSE="BSD Simplified"
TERMUX_PKG_MAINTAINER="ian4hu <hu2008yinxiang@163.com>"
TERMUX_PKG_VERSION=1.2.0
TERMUX_PKG_SRCURL=https://github.com/jbboehr/php-psr/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=fa4071bedf625b3f434b4dbcc005913d291790039d03ae429bfea252f9ab2b54
TERMUX_PKG_DEPENDS=php
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
termux_step_pre_configure() {
$TERMUX_PREFIX/bin/phpize
}