Skip to content

Commit

Permalink
New package: php8.3-redis-6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TinfoilSubmarine authored and classabbyamp committed Jul 23, 2024
1 parent 546ef24 commit 4e2992d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions srcpkgs/php-redis
8 changes: 7 additions & 1 deletion srcpkgs/php/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'php'
pkgname=php
version=8.3
revision=1
revision=2
build_style=meta
depends="php${version}"
short_desc="Meta package for PHP"
Expand Down Expand Up @@ -161,6 +161,12 @@ php-mongodb_package() {
short_desc="PHP MongoDB driver meta package"
}

php-redis_package() {
depends="php${version}-redis"
build_style=meta
short_desc="PHP Redis extension meta package"
}

xdebug_package() {
depends="xdebug${version}"
build_style=meta
Expand Down
3 changes: 3 additions & 0 deletions srcpkgs/php8.3-redis/files/README.voidlinux
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
To enable the Redis extension add the following line to your php.ini:

extension=redis
27 changes: 27 additions & 0 deletions srcpkgs/php8.3-redis/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file for 'php8.3-redis'
pkgname=php8.3-redis
version=6.0.2
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.3"
hostmakedepends="php8.3-devel autoconf pkg-config"
makedepends="php8.3-devel"
depends="php8.3"
short_desc="PHP extension for Redis"
maintainer="Joel Beckmeyer <[email protected]>"
license="PHP-3.01"
homepage="https://pecl.php.net/package/redis"
distfiles="https://pecl.php.net/get/redis-$version.tgz"
checksum=01aeccb0e14f897fe56f0509be6e6991ff0ad459f9d34e95e4556d02699b9a03

pre_configure() {
phpize8.3
}

pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}

post_install() {
vdoc $FILESDIR/README.voidlinux
}
1 change: 1 addition & 0 deletions srcpkgs/php8.3-redis/update
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pattern='<th.*Release \K[\d.]+(?=:</th>)'

0 comments on commit 4e2992d

Please sign in to comment.