aboutsummaryrefslogtreecommitdiffstats
path: root/main/php5-pear-net_idna2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/php5-pear-net_idna2/APKBUILD')
-rw-r--r--main/php5-pear-net_idna2/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/php5-pear-net_idna2/APKBUILD b/main/php5-pear-net_idna2/APKBUILD
new file mode 100644
index 0000000000..ff63f9193b
--- /dev/null
+++ b/main/php5-pear-net_idna2/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+_php=php5
+pkgname=${_php}-pear-net_idna2
+_realname=Net_IDNA2
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Punycode encoding and decoding"
+url="http://pear.php.net/package/Net_IDNA2/"
+arch="noarch"
+license="LGPL"
+depends="${_php}-pear"
+makedepends=""
+source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
+builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$builddir"
+
+ mkdir -p "$pkgdir"/usr/share/pear && \
+ cp -R Net "$pkgdir"/usr/share/pear || return 1
+ mkdir -p "$pkgdir"/usr/share/pear/doc/$_realname && \
+ cp -R docs "$pkgdir"/usr/share/pear/doc/$_realname || return 1
+ mkdir -p "$pkgdir"/usr/share/pear/test/$_realname && \
+ cp -R tests "$pkgdir"/usr/share/pear/test/$_realname
+}
+
+
+md5sums="22279b54719a95091f6d23a7fbb03321 Net_IDNA2-0.1.1.tgz"
+sha256sums="6ea0f7f75a9094481f305ac579d7b32f1831e86c8a2fc7d3dc48bd1ebeb0f725 Net_IDNA2-0.1.1.tgz"
+sha512sums="9d4683b59a9b195f882dceb1d97b90f755ffe7a03457dc42c25aee5c242ad1e4a4dfdea9bf04935c63b88e60addde8686abae1b042249ca2d0e12abc1ec58c1f Net_IDNA2-0.1.1.tgz"