aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-11-20 17:53:40 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-24 10:26:20 +0000
commitb570fc09928f41d0ae36cafa28a9e92361ffa9f7 (patch)
treef5d1d1482abf98ba82766c3d22720cd2957bbc9d
parent1f4886a160f79edaa66af0a7e51283c1c1aaa9d4 (diff)
downloadaports-b570fc09928f41d0ae36cafa28a9e92361ffa9f7.tar.bz2
aports-b570fc09928f41d0ae36cafa28a9e92361ffa9f7.tar.xz
main/php-pear-net_smtp: upgrade to stable 1.7.1
php-pear-net_socket required for this module so it added to depends
-rw-r--r--main/php-pear-net_smtp/APKBUILD38
1 files changed, 13 insertions, 25 deletions
diff --git a/main/php-pear-net_smtp/APKBUILD b/main/php-pear-net_smtp/APKBUILD
index 19edaaf861..d6d920d4d8 100644
--- a/main/php-pear-net_smtp/APKBUILD
+++ b/main/php-pear-net_smtp/APKBUILD
@@ -1,40 +1,28 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@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"