[arch-commits] Commit in pear-net-smtp/repos (community-any community-any/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Wed Feb 11 13:27:36 UTC 2015
Date: Wednesday, February 11, 2015 @ 14:27:36
Author: spupykin
Revision: 127562
archrelease: copy trunk to community-any
Added:
pear-net-smtp/repos/community-any/
pear-net-smtp/repos/community-any/PKGBUILD
(from rev 127561, pear-net-smtp/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: pear-net-smtp/repos/community-any/PKGBUILD (from rev 127561, pear-net-smtp/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-02-11 13:27:36 UTC (rev 127562)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+
+pkgname=pear-net-smtp
+_pkgname=Net_SMTP
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="Provides an implementation of the SMTP protocol using PEAR's Net_Socket class"
+url=http://pear.php.net/package/$_pkgname
+arch=('any')
+license=('PHP')
+depends=('pear-net-socket')
+makedepends=('php-pear')
+optdepends=('pear-auth-sasl2')
+source=(http://download.pear.php.net/package/$_pkgname-$pkgver.tgz)
+md5sums=('8b9262332948001f17110b4bfd7c15b3')
+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