diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 12:02:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 15:43:07 +0000 |
commit | 2cd5ba0d23b4a1e05ce10ecf1f6e22b8db1e8dd3 (patch) | |
tree | 986001c9f28b2990952c2f815898135b0893b6c4 /main/php5-pear-net_idna2/APKBUILD | |
parent | 750c752ce950bd96145d2acefa4adc4a93a96c01 (diff) | |
download | aports-2cd5ba0d23b4a1e05ce10ecf1f6e22b8db1e8dd3.tar.bz2 aports-2cd5ba0d23b4a1e05ce10ecf1f6e22b8db1e8dd3.tar.xz |
main/php5-pear-net_idna2: rename php to php5
Diffstat (limited to 'main/php5-pear-net_idna2/APKBUILD')
-rw-r--r-- | main/php5-pear-net_idna2/APKBUILD | 34 |
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" |