# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-net_socket
_pkgreal=Net_Socket
pkgver=1.1.0
pkgrel=0
pkgdesc="Network Socket Interface"
url="http://pear.php.net/package/$_pkgreal"
arch="noarch"
license="PHP"
depends="${_php}-pear"
options="!check"
source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz"
builddir="$srcdir"/$_pkgreal-$pkgver

package() {
	_phpdir="usr/share/${_php}"
	cd "$builddir"
	install -d "$pkgdir"/$_phpdir/PEAR
	mv Net "$pkgdir"/$_phpdir/PEAR
}

sha512sums="e2dcccc21451ec7fd232764ae061c0b63689c0f6c5f972aa408b74490504f2540bf525f6a0decbcef60ad7fe78f3718b8cc21bf625f31c3811f3ff5824e07b4b  Net_Socket-1.1.0.tgz"
