2023-06-02 20:55:45 +00:00
|
|
|
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
|
|
|
|
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
2024-06-13 17:43:27 +00:00
|
|
|
pkgname=php83-pecl-inotify
|
2023-06-02 20:55:45 +00:00
|
|
|
_extname=inotify
|
|
|
|
pkgver=3.0.0
|
|
|
|
pkgrel=0
|
2024-06-13 17:43:27 +00:00
|
|
|
pkgdesc="Inotify bindings for PHP 8.3"
|
2023-06-02 20:55:45 +00:00
|
|
|
url="https://pecl.php.net/package/inotify"
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="all"
|
2023-06-02 20:55:45 +00:00
|
|
|
license="PHP-3.01"
|
2024-06-13 17:43:27 +00:00
|
|
|
depends="php83-common"
|
|
|
|
makedepends="php83-dev"
|
2023-06-02 20:55:45 +00:00
|
|
|
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
|
|
builddir="$srcdir"/$_extname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2024-06-13 17:43:27 +00:00
|
|
|
phpize83
|
|
|
|
./configure --prefix=/usr --with-php-config=php-config83
|
2023-06-02 20:55:45 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make INSTALL_ROOT="$pkgdir" install
|
2024-06-13 17:43:27 +00:00
|
|
|
local _confdir="$pkgdir"/etc/php83/conf.d
|
2023-06-02 20:55:45 +00:00
|
|
|
install -d $_confdir
|
|
|
|
echo "extension=$_extname" > $_confdir/70_$_extname.ini
|
|
|
|
}
|
|
|
|
|
2024-06-13 17:43:27 +00:00
|
|
|
sha512sums="
|
|
|
|
f8b29f8611f16b92136ab8de89181c254bba1abee1e61cac2344440567a3155aae4b9b54b10fdb1b0254fd7a96da8c14b7dc5c9f7f08a03db30ab1645aca1eee php-pecl-inotify-3.0.0.tgz
|
|
|
|
"
|