aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pear-net_idna2/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-07 12:53:31 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-07 12:53:31 +0000
commitf4965d2c9d05e51079076cdf2af5cb9aff3a062a (patch)
treec8b972535bb2ad486668353c3392e5fa9f2cd4a8 /community/php7-pear-net_idna2/APKBUILD
parenteb72918199ff6123a487c76f5f3368448d5dc4ef (diff)
downloadaports-f4965d2c9d05e51079076cdf2af5cb9aff3a062a.tar.bz2
aports-f4965d2c9d05e51079076cdf2af5cb9aff3a062a.tar.xz
community/php7-pear-net_idna2: new aport
Diffstat (limited to 'community/php7-pear-net_idna2/APKBUILD')
-rw-r--r--community/php7-pear-net_idna2/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/php7-pear-net_idna2/APKBUILD b/community/php7-pear-net_idna2/APKBUILD
new file mode 100644
index 0000000000..35972c6f4f
--- /dev/null
+++ b/community/php7-pear-net_idna2/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+_php=php7
+pkgname=${_php}-pear-net_idna2
+_realname=Net_IDNA2
+pkgver=0.2.0
+pkgrel=0
+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/lib/${_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"