1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/php81-phalcon/APKBUILD
2022-07-12 14:20:08 +02:00

47 lines
1.1 KiB
Text

# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php81-phalcon
_extname=phalcon
pkgver=5.0.0_rc3
_pkgver=${pkgver/_rc/RC}
pkgrel=0
pkgdesc="High performance, full-stack PHP 8.1 framework delivered as a C extension"
url="https://phalcon.io/"
arch="all"
license="BSD-3-Clause"
depends="
php81-curl
php81-fileinfo
php81-gettext
php81-mbstring
php81-openssl
php81-pdo
php81-session
php81-pecl-psr
"
makedepends="php81-dev"
source="php-$_extname-$_pkgver.tgz::https://pecl.php.net/get/$_extname-$_pkgver.tgz"
builddir="$srcdir/$_extname-$_pkgver"
build() {
phpize81
./configure --prefix=/usr --with-php-config=/usr/bin/php-config81
make
}
check() {
# no tests provided
php81 -d extension=modules/$_extname.so --ri $_extname
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php81/conf.d
install -d $_confdir
echo "extension=$_extname" > $_confdir/$_extname.ini
}
sha512sums="
dd1d084bc0c18fdfd66df2c2a6a05c61aa2b07ee7be6d595466b19a8409f253d8a40181967cecfb9127d66cd36aa3e506787224cea6ca79bdb90bcd1d82ff2eb php-phalcon-5.0.0RC3.tgz
"