# Contributor: TBK # Maintainer: Andy Postnikov pkgname=php83-pecl-mcrypt _extname=mcrypt pkgver=1.0.7 pkgrel=0 pkgdesc="Provides PHP 8.3 bindings for the unmaintained libmcrypt - PECL" url="https://pecl.php.net/package/mcrypt" arch="all" license="PHP-3.01" _phpv=83 _php=php$_phpv depends="$_php-common" makedepends="$_php-dev libmcrypt-dev" 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() { make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test } package() { make INSTALL_ROOT="$pkgdir" install local _confdir="$pkgdir"/etc/$_php/conf.d install -d $_confdir echo "extension=$_extname" > $_confdir/$_extname.ini } sha512sums=" 1b579af868a2db073520437ad6a93513c2591bc865d982dc7926591e712614995148d13bacc1b4b207ddecda4bad219b67010a39ea17e1ec6e180d4fd69182ff php-pecl-mcrypt-1.0.7.tgz "