# Contributor: Andy Postnikov # Maintainer: Andy Postnikov pkgname=php7-igbinary _pkgreal=igbinary pkgver=2.0.7 pkgrel=0 pkgdesc="Igbinary is a drop in replacement for the standard php serializer" url="https://pecl.php.net/package/igbinary" arch="all" license="BSD-3-Clause" depends="" makedepends="autoconf php7-dev" source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" builddir="$srcdir/$_pkgreal-$pkgver" build() { cd "$builddir" phpize7 ./configure \ --prefix=/usr \ --with-php-config=/usr/bin/php-config7 make } check() { cd "$builddir" make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test } package() { cd "$builddir" make INSTALL_ROOT="$pkgdir" install install -d "$pkgdir"/etc/php7/conf.d echo "extension=$_pkgreal.so" > \ "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini } sha512sums="216a622f8421f4e2140d5ef8250b66b2b536a7de6c236c6f62938ea49abc264c6c23cf0b41dd954bb89a03ff83fc4d6c7209386a2b05bf523f6312a6c16e1f0a igbinary-2.0.7.tgz"