# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-auth_sasl2
_realname=Auth_SASL2
pkgver=0.2.0
pkgrel=0
pkgdesc="Abstraction of various SASL mechanism responses"
url="http://pear.php.net/package/Auth_SASL2"
arch="noarch"
license="BSD"
depends="${_php}-pear"
makedepends="$depends_dev ${_php}-pear"
options="!check"
source="$pkgname-$pkgver.tgz::http://download.pear.php.net/package/$_realname-$pkgver.tgz"
builddir="$srcdir"/$_realname-$pkgver

build()	{
	return 0
}

package() {
	_phpdir="usr/lib/$_php"
	cd "$builddir"
	install -d "$pkgdir"/$_phpdir/PEAR && \
		cp -R Auth "$pkgdir"/$_phpdir/PEAR || return 1
}

sha512sums="ea4bed18d241e9e43e3d3b1edc8aec713276a19ed6fa2b2adc44cfe74b51895b719e4fbbf83836b26abb8bfa7f0600891b2c4511ddcc3f6d815e986a61277402  php7-pear-auth_sasl2-0.2.0.tgz"
