# Contributor: Valery Kartel # Maintainer: Andy Postnikov pkgname=php82-pecl-phalcon _extname=phalcon pkgver=5.4.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=" 50ec5ef2aa88f3c1027cfd8de4b74bbb323df877c236cec71a66ffe0ef0f65d079ee3d19a2e66089c8a108d7f95cc5f228db699bcd7155bde6af76c03466f348 php-phalcon-5.4.0.tgz "