aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pear-net_socket/APKBUILD
blob: eea2d4cb5a91ba1a41e7b471096d1e0f28b20d2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-net_socket
_pkgreal=Net_Socket
pkgver=1.2.2
pkgrel=0
pkgdesc="Network Socket Interface"
url="http://pear.php.net/package/$_pkgreal"
arch="noarch"
license="PHP"
depends="${_php}-pear"
options="!check"
source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz"
builddir="$srcdir"/$_pkgreal-$pkgver

package() {
	_phpdir="usr/share/${_php}"
	cd "$builddir"
	install -d "$pkgdir"/$_phpdir/PEAR
	mv Net "$pkgdir"/$_phpdir/PEAR
}

sha512sums="fd415fbd4a6801b63cda3168ff275fdeae233a3cc4c62f9bfe561f83f24f89795a7e7ad862641a73bb6d6e3c0da8b56cd00e7e7a1db616de040ea7883d84caa5  Net_Socket-1.2.2.tgz"