# Contributor: TBK # Maintainer: TBK pkgname=php7-protobuf _pkgreal=protobuf pkgver=3.5.1.1 pkgrel=0 pkgdesc="PHP7 extension: Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data." url="https://pecl.php.net/package/protobuf" arch="all" license="BSD-3-Clause" options="!check" # Test suite is not part of pecl release. depends="php7-common" makedepends="php7-dev autoconf libtool" source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" builddir="$srcdir/$_pkgreal-$pkgver" build() { cd "$builddir" phpize7 ./configure --prefix=/usr --with-php-config=php-config7 make } 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="0be99fe15fc6ab7cd14e1d1e0749ab9df64ef1b6ad016157a578a03edb299f1f1f56200d5c8e4c50db72faa096b154deda5d93f86812d18c13b56aedfb5f227b protobuf-3.5.1.1.tgz"