# Contributor: Andy Postnikov # Maintainer: Andy Postnikov pkgname=php7-igbinary _pkgreal=igbinary pkgver=2.0.6 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="56f230e42c155ab6bd309189fc94c09e1e60ce80e111fbb4a66cb977230a19690de84e0e2cbc21a764e053072a2f2a9629fa053c45a5acd649e6010c727b656a igbinary-2.0.6.tgz"