blob: 165075cad06633d136828c63d991d9f8a7b29e11 (
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
29
|
# Maintainer: Adrian Sausenthaler <aur@sausenthaler.de>
pkgname=php-mcrypt
pkgver=1.0.7
epoch=1
pkgrel=1
pkgdesc="mcrypt module for extra/php package (>=8.0.0, <=8.4.0)"
arch=('i686' 'x86_64')
url="https://pecl.php.net/package/mcrypt"
license=('PHP')
depends=('php' 'libmcrypt')
makedepends=('autoconf' 're2c')
source=(http://pecl.php.net/get/mcrypt-${pkgver}.tgz)
install=mcrypt.install
sha256sums=('12ea2fbbf2e2efbe790a12121f77bf096c8b84cef81d0216bec00d56e5badef4')
build() {
cd ${srcdir}/mcrypt-${pkgver}
phpize
./configure
make
}
package() {
cd ${srcdir}/mcrypt-${pkgver}
make INSTALL_ROOT=${pkgdir} install
install -d ${pkgdir}/etc/php/conf.d
echo "extension=mcrypt.so" > ${pkgdir}/etc/php/conf.d/mcrypt.ini
}
|