aboutsummaryrefslogtreecommitdiffstats
path: root/main/php5-phpmailer/APKBUILD
blob: f426768e84b24d7d03afb77189ddcceb66298ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer:  Timo Teräs <timo.teras@iki.fi>
_php=php5
pkgname=${_php}-phpmailer
_pkgname=PHPMailer
pkgver=5.2.4
pkgrel=0
pkgdesc="PHP class for SMTP mailing"
url="http://code.google.com/a/apache-extras.org/p/phpmailer/"
arch="noarch"
license="LGPL"
depends="$_php"
depends_dev=
makedepends="$depends_dev"
install=""
subpackages=""
source="https://storage.googleapis.com/google-code-archive-downloads/v2/apache-extras.org/phpmailer/${_pkgname}_${pkgver}.tgz"

builddir="$srcdir/${_pkgname}_$pkgver"
build() {
	cd "$builddir"
}

package() {
	cd "$builddir"
	install -d -m755 "$pkgdir"/usr/share/pear
	install -D -m644 "$builddir"/class.*.php "$pkgdir"/usr/share/pear || return 1
}

md5sums="c990db0d0859599eafa4338ce90154a7  PHPMailer_5.2.4.tgz"
sha256sums="805e414daf56a8bda443c0e0c209c5cc29a3fcb0c55b36450e5b4635c0991dd8  PHPMailer_5.2.4.tgz"
sha512sums="c5bbac3d60db83052a76474b5e7c975fa6aaa0bf157fba21b4c382a645d113bcda5d8214e08a844904d0f6e99cf324dae5796bb8d1de29852591d23471d0436a  PHPMailer_5.2.4.tgz"