[arch-commits] Commit in pear-net-socket/repos (community-any community-any/PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Feb 11 13:27:45 UTC 2015


    Date: Wednesday, February 11, 2015 @ 14:27:45
  Author: spupykin
Revision: 127563

archrelease: copy trunk to community-any

Added:
  pear-net-socket/repos/community-any/
  pear-net-socket/repos/community-any/PKGBUILD
    (from rev 127562, pear-net-socket/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: pear-net-socket/repos/community-any/PKGBUILD (from rev 127562, pear-net-socket/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-02-11 13:27:45 UTC (rev 127563)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+
+pkgname=pear-net-socket
+_pkgname=Net_Socket
+pkgver=1.0.14
+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"
+url=http://pear.php.net/package/$_pkgname
+arch=('any')
+license=('PHP')
+makedepends=('php-pear')
+source=(http://download.pear.php.net/package/$_pkgname-$pkgver.tgz)
+md5sums=('b0710ca5ec75cfcde1690d39788a3eb3')
+noextract=($_pkgname-$pkgver.tgz)
+
+package() {
+  cd ${srcdir}
+  local _PEARDIR="${pkgdir}/usr/share/pear"
+  local _PEAROPTS="-D php_dir=${_PEARDIR} -D doc_dir=${_PEARDIR}/doc"
+  local _PEAROPTS="${_PEAROPTS} -D test_dir=${_PEARDIR}/test"
+  local _PEAROPTS="${_PEAROPTS} -D data_dir=${_PEARDIR}/data"
+  pear ${_PEAROPTS} install -O -n ${_pkgname}-${pkgver}.tgz
+  rm -r ${_PEARDIR}/{.channels,.depdb*,.filemap,.lock,.registry}
+}



More information about the arch-commits mailing list