blob: 35972c6f4f6392eee5754ce48186e38dac208817 (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-net_idna2
_realname=Net_IDNA2
pkgver=0.2.0
pkgrel=0
pkgdesc="Punycode encoding and decoding"
url="http://pear.php.net/package/Net_IDNA2/"
arch="noarch"
license="LGPL"
depends="${_php}-pear"
options="!check"
source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
builddir="$srcdir"/$_realname-$pkgver
build() {
return 0
}
package() {
_phpdir="usr/lib/${_php}"
cd "$builddir"
mkdir -p "$pkgdir"/$_phpdir/PEAR && \
cp -R Net "$pkgdir"/$_phpdir/PEAR
mkdir -p "$pkgdir"/$_phpdir/test/$_realname && \
cp -R tests "$pkgdir"/$_phpdir/test/$_realname
}
sha512sums="728c79bd893d7202376cf9db7a285b69b6821db89621a454081f7c7b01123141950395106f11699c991733314a05f4810f3257dbab0b29592856b35dbb471e54 Net_IDNA2-0.2.0.tgz"
|