mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/php7 to 7.4.29-4
This commit is contained in:
parent
10fb4181c3
commit
ef2ed0bf85
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,7 @@ pkgname=('php7'
|
|||
'php7-tidy'
|
||||
'php7-xsl')
|
||||
pkgver=7.4.29
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
arch=('x86_64')
|
||||
license=('PHP')
|
||||
url='https://www.php.net/'
|
||||
|
@ -33,6 +33,7 @@ makedepends=('apache' 'aspell' 'c-client' 'db' 'enchant' 'gd' 'gmp' 'icu' 'libso
|
|||
'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'postfix' 'freetds' 'pcre2' 'libnsl'
|
||||
'oniguruma')
|
||||
checkdepends=('procps-ng')
|
||||
options=(debug)
|
||||
source=("https://php.net/distributions/php-${pkgver}.tar.xz"{,.asc}
|
||||
'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch'
|
||||
'enchant-2.patch' 'php7.patch')
|
||||
|
@ -47,6 +48,7 @@ sha512sums=('cdec93b3d10b80da4a16757e60ecf8b35e78adfc57edd40917f53c4d20ce2847363
|
|||
'f8c197fb657958016340db87de3e3427cc692cccc791e88c650362ed89bfd3be6180e430e5c446d19566b7e66225f9fa8cbed46a0909c87d6e046e65135d3031')
|
||||
validpgpkeys=('5A52880781F755608BF815FC910DEB46F53EA312'
|
||||
'42670A7FE4D0441C8E4632349E4FDC074A4EF02D')
|
||||
_interpreter=${pkgver%.*}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/php-${pkgver}
|
||||
|
@ -194,6 +196,7 @@ check() {
|
|||
package_php7() {
|
||||
pkgdesc='A general-purpose scripting language that is especially suited to web development'
|
||||
depends=('libxml2' 'curl' 'libzip' 'pcre2' 'argon2' 'oniguruma')
|
||||
provides=(php-interpreter=$_interpreter)
|
||||
backup=('etc/php7/php.ini')
|
||||
|
||||
cd ${srcdir}/build
|
||||
|
@ -295,6 +298,7 @@ package_php7-sodium() {
|
|||
pkgdesc='sodium module for PHP'
|
||||
depends=('php7' 'libsodium')
|
||||
|
||||
|
||||
install -D -m755 ${srcdir}/build/modules/sodium.so ${pkgdir}/usr/lib/php7/modules/sodium.so
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue