# Contributor: Fabio Ribeiro # Maintainer: Fabio Ribeiro pkgname=php83-pecl-zmq _extname=zmq pkgver=1.1.4 pkgrel=0 pkgdesc="PHP 8.3 extension for ZeroMQ - PECL" url="https://pecl.php.net/package/zmq" arch="all" license="PHP-3.01" _phpv=83 _php=php$_phpv depends="$_php-common" makedepends="$_php-dev zeromq-dev" _commit=84f072064dd8aedaf1ff883c602c5e34f3876897 source="php-pecl-$_extname-$_commit.tar.gz::https://github.com/zeromq/php-zmq/archive/$_commit.tar.gz" builddir="$srcdir/php-$_extname-$_commit" #source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz" #builddir="$srcdir/$_extname-$pkgver" build() { phpize$_phpv ./configure --prefix=/usr --with-php-config=php-config$_phpv make } check() { $_php -dextension=modules/$_extname.so --ri $_extname make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff } package() { make INSTALL_ROOT="$pkgdir" install local _confdir="$pkgdir"/etc/$_php/conf.d mkdir -p $_confdir echo "extension=$_extname" > $_confdir/50_$_extname.ini } sha512sums=" 49b0d19e2884f29fb474906bbc0d3d58b518779b3ce4561805d3387a3eaa97e039dc57d941df630f6d86b1517e5f7fb3435677d5f31c275602186bb2c45cf31b php-pecl-zmq-84f072064dd8aedaf1ff883c602c5e34f3876897.tar.gz "