Mail archive
alpine-aports

[alpine-aports] [PATCH] main/php-pear-net_smtp: upgrade to stable 1.7.1

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Fri, 20 Nov 2015 17:53:40 +0200

php-pear-net_socket required for this module so it added to depends
---
 main/php-pear-net_smtp/APKBUILD | 38 +++++++++++++-------------------------
 1 file changed, 13 insertions(+), 25 deletions(-)
diff --git a/main/php-pear-net_smtp/APKBUILD b/main/php-pear-net_smtp/APKBUILD
index 19edaaf..d6d920d 100644
--- a/main/php-pear-net_smtp/APKBUILD
+++ b/main/php-pear-net_smtp/APKBUILD
_at_@ -1,40 +1,28 @@
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 # Maintainer: Leonardo Arena <rnalrd_at_alpinelinux.org>
 pkgname=php-pear-net_smtp
-_realname=Net_SMTP
-pkgver=1.6.2
+_pkgreal=Net_SMTP
+pkgver=1.7.1
 pkgrel=0
 pkgdesc="An implementation of the SMTP protocol"
 url="http://pear.php.net/package/Net_SMTP"
 arch="noarch"
 license="PHP"
-depends="php-pear"
-depends_dev=
+depends="php-pear php-pear-net_socket"
+depends_dev=""
 makedepends="$depends_dev php-pear"
 install=""
-subpackages=
-source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
+subpackages=""
+source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz"
 
-_builddir="$srcdir"/$_realname-$pkgver
-
-prepare() {
-	cd "$_builddir"
-	return 0
-}
-
-build()	{
-	return 0
-}
+_builddir="$srcdir"/$_pkgreal-$pkgver
 
 package() {
 	cd "$_builddir"
-	mkdir -p "$pkgdir"/usr/share/pear && cp -R Net "$pkgdir"/usr/share/pear
-	mkdir -p "$pkgdir"/usr/share/pear/doc/$_realname && \
-		cp -R docs examples "$pkgdir"/usr/share/pear/doc/$_realname
-	mkdir -p "$pkgdir"/usr/share/pear/test/$_realname && \
-		cp -R tests "$pkgdir"/usr/share/pear/test/$_realname
+	install -d "$pkgdir"/usr/share/pear
+	mv Net "$pkgdir"/usr/share/pear
 }
 
-
-md5sums="8b9262332948001f17110b4bfd7c15b3  Net_SMTP-1.6.2.tgz"
-sha256sums="98d3ab28e99de2a8b1c39650c3ac107ac1caf09639b1d2018adf058dd9864785  Net_SMTP-1.6.2.tgz"
-sha512sums="ffb9fd28e2ef66f26197423dd9249f3a7b6d2ad2fabe5719eb890cabaa7a20f75a8cd90bb829fd301cee22026805c96824ea03acb3e931ba9edf8d1ef320f3e3  Net_SMTP-1.6.2.tgz"
+md5sums="b7688820d1aadfbc61543e68ae493b5d  Net_SMTP-1.7.1.tgz"
+sha256sums="18b273d31225a6931b30bea762e045b4d05e3d627d83da49968e7a4c258166dd  Net_SMTP-1.7.1.tgz"
+sha512sums="eb364bfdc1f33e53163674c31963c319c136fb805340b0a73c6e9a6f3d17cf093d56310803201bfb35c53977549eedb03e5bdfae6dd0458c66cfd4d8095b56b5  Net_SMTP-1.7.1.tgz"
-- 
2.6.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 20 2015 - 17:53:40 GMT