Commit d97559ba authored by Leonardo Arena's avatar Leonardo Arena

main/php-pear-net_idna2: new aport

(cherry picked from commit 2d723531)
parent ac69c47c
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=php-pear-net_idna2
_realname=Net_IDNA2
pkgver=0.1.1
pkgrel=0
pkgdesc="Punycode encoding and decoding"
url="http://pear.php.net/package/Net_IDNA2/"
arch="noarch"
license="LGPL"
depends="php-pear"
depends_dev=
makedepends="$depends_dev php-pear"
install=""
subpackages=
source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd "$_builddir"
return 0
}
build() {
return 0
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/share/pear && cp -R Net "$pkgdir"/usr/share/pear
mkdir -p "$pkgdir"/usr/share/pear/doc/$_realname && \
cp -R docs "$pkgdir"/usr/share/pear/doc/$_realname
mkdir -p "$pkgdir"/usr/share/pear/test/$_realname && \
cp -R tests "$pkgdir"/usr/share/pear/test/$_realname
}
md5sums="d998750a832d6d1487c2c1acc4a7d439 Net_IDNA2-0.1.1.tgz"
sha256sums="f5e6e3f72f3aa8e2f3f8137687f6ed17c43fb4be3476157a7ddc9f8a63494f94 Net_IDNA2-0.1.1.tgz"
sha512sums="cda89cca730bbacfabf5ac03f5b592bc5577355bf421c94d0e342c7ea45960d853660844d9397401e7875a70baf5111da3bbf5a39e2824336dc404381602ecfe Net_IDNA2-0.1.1.tgz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment