aboutsummaryrefslogblamecommitdiffstats
path: root/community/php7-pear-net_idna2/APKBUILD
blob: db076def9ece11e20337c9473876f5ad4c8c91b6 (plain) (tree)
1
2
3
4
5
6




                                                     
        













                                                                    
                                   







                                                                                                                                                                  
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-net_idna2
_realname=Net_IDNA2
pkgver=0.2.0
pkgrel=1
pkgdesc="Punycode encoding and decoding"
url="http://pear.php.net/package/Net_IDNA2/"
arch="noarch"
license="LGPL"
depends="${_php}-pear"
options="!check"
source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
builddir="$srcdir"/$_realname-$pkgver

build()	{
	return 0
}

package() {
	_phpdir="usr/share/${_php}"
	cd "$builddir"
	mkdir -p "$pkgdir"/$_phpdir/PEAR && \
		cp -R Net "$pkgdir"/$_phpdir/PEAR
	mkdir -p "$pkgdir"/$_phpdir/test/$_realname && \
		cp -R tests "$pkgdir"/$_phpdir/test/$_realname
}

sha512sums="728c79bd893d7202376cf9db7a285b69b6821db89621a454081f7c7b01123141950395106f11699c991733314a05f4810f3257dbab0b29592856b35dbb471e54  Net_IDNA2-0.2.0.tgz"