diff options
Diffstat (limited to 'main/php-pear-net_idna2/APKBUILD')
-rw-r--r-- | main/php-pear-net_idna2/APKBUILD | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/main/php-pear-net_idna2/APKBUILD b/main/php-pear-net_idna2/APKBUILD index 700ecac51d..8aa828c4ae 100644 --- a/main/php-pear-net_idna2/APKBUILD +++ b/main/php-pear-net_idna2/APKBUILD @@ -2,39 +2,32 @@ pkgname=php-pear-net_idna2 _realname=Net_IDNA2 pkgver=0.1.1 -pkgrel=0 +pkgrel=1 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= +makedepends="" source="http://download.pear.php.net/package/$_realname-$pkgver.tgz" - -_builddir="$srcdir"/$_realname-$pkgver - -prepare() { - cd "$_builddir" - return 0 -} +builddir="$srcdir"/$_realname-$pkgver build() { return 0 } package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/pear && cp -R Net "$pkgdir"/usr/share/pear + 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 + 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="d998750a832d6d1487c2c1acc4a7d439 Net_IDNA2-0.1.1.tgz" -sha256sums="f5e6e3f72f3aa8e2f3f8137687f6ed17c43fb4be3476157a7ddc9f8a63494f94 Net_IDNA2-0.1.1.tgz" -sha512sums="cda89cca730bbacfabf5ac03f5b592bc5577355bf421c94d0e342c7ea45960d853660844d9397401e7875a70baf5111da3bbf5a39e2824336dc404381602ecfe Net_IDNA2-0.1.1.tgz" +md5sums="22279b54719a95091f6d23a7fbb03321 Net_IDNA2-0.1.1.tgz" +sha256sums="6ea0f7f75a9094481f305ac579d7b32f1831e86c8a2fc7d3dc48bd1ebeb0f725 Net_IDNA2-0.1.1.tgz" +sha512sums="9d4683b59a9b195f882dceb1d97b90f755ffe7a03457dc42c25aee5c242ad1e4a4dfdea9bf04935c63b88e60addde8686abae1b042249ca2d0e12abc1ec58c1f Net_IDNA2-0.1.1.tgz" |