blob: e9d899a9bb152afb2f9235487c984c35999eb441 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
_phpbase=82
pkgname=php${_phpbase}-mcrypt
pkgver=1.0.7
pkgrel=1
pkgdesc="php${_phpbase} bindings for the unmaintained libmcrypt. For compat purposes"
arch=('i686' 'x86_64')
url="https://pecl.php.net/package/mcrypt"
license=('PHP')
depends=('php81' 'libmcrypt')
makedepends=('autoconf' 're2c')
source=(http://pecl.php.net/get/mcrypt-${pkgver}.tgz)
install=mcrypt.install
build() {
cd ${srcdir}/mcrypt-${pkgver}
phpize${_phpbase}
./configure --with-php-config=php-config${_phpbase}
make
}
package() {
cd ${srcdir}/mcrypt-${pkgver}
make INSTALL_ROOT=${pkgdir} install
install -d ${pkgdir}/etc/php${_phpbase}/conf.d
echo "extension=mcrypt.so" > ${pkgdir}/etc/php${_phpbase}/conf.d/mcrypt.ini
}
md5sums=('5c3679e4d4581fb0f83fbe6f182bbf75')
|