summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b52345d63d6cd9763637c6e760a7562eb0f60789 (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: robertfoster

pkgname=pecl-mcrypt
pkgver=1.0.2
pkgrel=2
pkgdesc="Bindings for the libmcrypt library"
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

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/3-mcrypt.ini
}

md5sums=('72ff2090a523dc6c388e5ee75d23b035')