aboutsummaryrefslogtreecommitdiffstats
path: root/main/php-pear-net_idna2/APKBUILD
blob: 700ecac51d86a65101b5d2348f2cdcdfbbfe1f44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"