user/php83-pecl-inotify: new aport

This commit is contained in:
Antoine Martin 2024-06-13 13:43:27 -04:00
parent 3fd57eb3c1
commit 04cb97c9e8
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,21 +1,21 @@
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com> # Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com> # Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php82-pecl-inotify pkgname=php83-pecl-inotify
_extname=inotify _extname=inotify
pkgver=3.0.0 pkgver=3.0.0
pkgrel=0 pkgrel=0
pkgdesc="Inotify bindings for PHP 8.2" pkgdesc="Inotify bindings for PHP 8.3"
url="https://pecl.php.net/package/inotify" url="https://pecl.php.net/package/inotify"
arch="all" arch="all"
license="PHP-3.01" license="PHP-3.01"
depends="php82-common" depends="php83-common"
makedepends="php82-dev" makedepends="php83-dev"
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz" source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir"/$_extname-$pkgver builddir="$srcdir"/$_extname-$pkgver
build() { build() {
phpize82 phpize83
./configure --prefix=/usr --with-php-config=php-config82 ./configure --prefix=/usr --with-php-config=php-config83
make make
} }
@ -25,9 +25,11 @@ check() {
package() { package() {
make INSTALL_ROOT="$pkgdir" install make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php82/conf.d local _confdir="$pkgdir"/etc/php83/conf.d
install -d $_confdir install -d $_confdir
echo "extension=$_extname" > $_confdir/70_$_extname.ini echo "extension=$_extname" > $_confdir/70_$_extname.ini
} }
sha512sums="f8b29f8611f16b92136ab8de89181c254bba1abee1e61cac2344440567a3155aae4b9b54b10fdb1b0254fd7a96da8c14b7dc5c9f7f08a03db30ab1645aca1eee php-pecl-inotify-3.0.0.tgz" sha512sums="
f8b29f8611f16b92136ab8de89181c254bba1abee1e61cac2344440567a3155aae4b9b54b10fdb1b0254fd7a96da8c14b7dc5c9f7f08a03db30ab1645aca1eee php-pecl-inotify-3.0.0.tgz
"