diff options
author | Chris Severance | 2017-07-26 11:38:24 -0400 |
---|---|---|
committer | Chris Severance | 2017-07-26 11:38:24 -0400 |
commit | d6e1e4cc1f2ca294e288f2742354095421978f1b (patch) | |
tree | e08a726511ba5e4d43b3b1832c9d5ff0d7c5f6be | |
download | aur-d6e1e4cc1f2ca294e288f2742354095421978f1b.tar.gz |
Initial Import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fdee13a6ebf2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Wed Jul 26 15:38:05 UTC 2017 +pkgbase = pear-net-socket + pkgdesc = Net_Socket is a class interface to TCP sockets. It provides blocking and non-blocking operation, with different reading and writing modes + pkgver = 1.2.2 + pkgrel = 1 + url = http://pear.php.net/package/Net_Socket + arch = any + license = PHP + makedepends = php-pear + depends = php>=5.4.0 + noextract = Net_Socket-1.2.2.tgz + source = http://download.pear.php.net/package/Net_Socket-1.2.2.tgz + sha256sums = 1f971cf0f80fa6a7bbbebb8695917293eaede976680718413847177633a41689 + +pkgname = pear-net-socket + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d3723e8f1591 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com +# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Contributor: Jonathan Steel <jsteel at aur.archlinux.org> + +set -u +pkgname='pear-net-socket' +_pkgnick='Net_Socket' +pkgver='1.2.2' +pkgrel='1' +pkgdesc='Net_Socket is a class interface to TCP sockets. It provides blocking and non-blocking operation, with different reading and writing modes' +arch=('any') +url="http://pear.php.net/package/${_pkgnick}" +license=('PHP') +depends=('php>=5.4.0') +makedepends=('php-pear') +_verwatch=("http://pear.php.net/package/${_pkgnick}/download" "\([0-9]\+\.[0-9]\+\.[^\.]\+\).*" 't') +source=("http://download.pear.php.net/package/${_pkgnick}-${pkgver}.tgz") +noextract=("${_pkgnick}-${pkgver}.tgz") +sha256sums=('1f971cf0f80fa6a7bbbebb8695917293eaede976680718413847177633a41689') + +package() { + set -u + cd "${srcdir}" + local _PEARDIR="${pkgdir}/usr/share/pear" + local _PEAROPTS=(-D php_dir="${_PEARDIR}" -D doc_dir="${_PEARDIR}/doc") + local _PEAROPTS+=(-D test_dir="${_PEARDIR}/test") + local _PEAROPTS+=(-D data_dir="${_PEARDIR}/data") + pear "${_PEAROPTS[@]}" install -O -n "${_pkgnick}-${pkgver}.tgz" + rm -r "${_PEARDIR}"/{.channels,.depdb*,.filemap,.lock,.registry} + set +u +} +set +u |