Commit c4e664a1 authored by Andy Postnikov's avatar Andy Postnikov
Browse files

testing/php82-pecl-phalcon: new aport

parent 31b924d8
Pipeline #137650 passed with stage
in 59 seconds
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php82-pecl-phalcon
_extname=phalcon
pkgver=5.0.0
pkgrel=0
pkgdesc="High performance, full-stack PHP 8.2 framework delivered as a C extension"
url="https://phalcon.io/"
arch="all"
license="BSD-3-Clause"
_phpv=82
_php=php$_phpv
depends="
$_php-curl
$_php-fileinfo
$_php-gettext
$_php-mbstring
$_php-openssl
$_php-pdo
$_php-session
$_php-pecl-psr
"
makedepends="$_php-dev"
source="php-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver"
build() {
phpize$_phpv
./configure --prefix=/usr --with-php-config=/usr/bin/php-config$_phpv
make
}
check() {
# no tests provided
$_php -d extension=modules/$_extname.so --ri $_extname
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/$_php/conf.d
install -d $_confdir
echo "extension=$_extname" > $_confdir/$_extname.ini
}
sha512sums="
5116018564c0ce5586d1b4e6eff300a8e837e6f46b6f1f83efb5ecf4a711aa007e0fc251dd7e1e561b91bccc0043d40fffed080f4aaa86d3cb326da599a28f9f php-phalcon-5.0.0.tgz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment