aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pear-net_socket/APKBUILD
blob: 8b5ff51a5d09c09af753e689b50df35986109106 (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.1.0
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="e2dcccc21451ec7fd232764ae061c0b63689c0f6c5f972aa408b74490504f2540bf525f6a0decbcef60ad7fe78f3718b8cc21bf625f31c3811f3ff5824e07b4b  Net_Socket-1.1.0.tgz"