aboutsummaryrefslogtreecommitdiffstats
path: root/main/php-pear-net_idna2/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-07-04 13:07:08 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-07-04 13:07:22 +0000
commit2d723531737237b7ba23cba4d8d8757bd972d671 (patch)
treef0b60dc03aaec2b0355c7fa0848fdb715b087648 /main/php-pear-net_idna2/APKBUILD
parent68d43253f23dcb34832fbe00abec43f43bba76fa (diff)
downloadaports-2d723531737237b7ba23cba4d8d8757bd972d671.tar.bz2
aports-2d723531737237b7ba23cba4d8d8757bd972d671.tar.xz
main/php-pear-net_idna2: new aport
Diffstat (limited to 'main/php-pear-net_idna2/APKBUILD')
-rw-r--r--main/php-pear-net_idna2/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/php-pear-net_idna2/APKBUILD b/main/php-pear-net_idna2/APKBUILD
new file mode 100644
index 0000000000..700ecac51d
--- /dev/null
+++ b/main/php-pear-net_idna2/APKBUILD
@@ -0,0 +1,40 @@
+# 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"