aboutsummaryrefslogtreecommitdiffstats
path: root/main/php5-phpmailer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/php5-phpmailer/APKBUILD')
-rw-r--r--main/php5-phpmailer/APKBUILD27
1 files changed, 9 insertions, 18 deletions
diff --git a/main/php5-phpmailer/APKBUILD b/main/php5-phpmailer/APKBUILD
index e0e60c883c..f426768e84 100644
--- a/main/php5-phpmailer/APKBUILD
+++ b/main/php5-phpmailer/APKBUILD
@@ -3,7 +3,7 @@
_php=php5
pkgname=${_php}-phpmailer
_pkgname=PHPMailer
-pkgver=5.2.0
+pkgver=5.2.4
pkgrel=0
pkgdesc="PHP class for SMTP mailing"
url="http://code.google.com/a/apache-extras.org/p/phpmailer/"
@@ -14,28 +14,19 @@ depends_dev=
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_$pkgver.tgz"
-
-_builddir="$srcdir/${_pkgname}_$pkgver"
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="https://storage.googleapis.com/google-code-archive-downloads/v2/apache-extras.org/phpmailer/${_pkgname}_${pkgver}.tgz"
+builddir="$srcdir/${_pkgname}_$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -d -m755 "$pkgdir"/usr/share/pear
- install -D -m644 "$_builddir"/class.*.php "$pkgdir"/usr/share/pear || return 1
+ install -D -m644 "$builddir"/class.*.php "$pkgdir"/usr/share/pear || return 1
}
-md5sums="aed567b80e6a3b3175d4ce27f3a9a243 PHPMailer_5.2.0.tgz"
+md5sums="c990db0d0859599eafa4338ce90154a7 PHPMailer_5.2.4.tgz"
+sha256sums="805e414daf56a8bda443c0e0c209c5cc29a3fcb0c55b36450e5b4635c0991dd8 PHPMailer_5.2.4.tgz"
+sha512sums="c5bbac3d60db83052a76474b5e7c975fa6aaa0bf157fba21b4c382a645d113bcda5d8214e08a844904d0f6e99cf324dae5796bb8d1de29852591d23471d0436a PHPMailer_5.2.4.tgz"