diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 12:28:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 15:43:07 +0000 |
commit | 59f6aa93787fa68ce578e1d307cb4456fea6dd0b (patch) | |
tree | e420021af67722c062003bf5b828219246f78e1d /main/php5-phpmailer | |
parent | 9d93f9464bb75e720df0b4d53bdf1ca0ad5a45ac (diff) | |
download | aports-59f6aa93787fa68ce578e1d307cb4456fea6dd0b.tar.bz2 aports-59f6aa93787fa68ce578e1d307cb4456fea6dd0b.tar.xz |
main/php5-phpmailer: rename php to php5
Diffstat (limited to 'main/php5-phpmailer')
-rw-r--r-- | main/php5-phpmailer/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/php5-phpmailer/APKBUILD b/main/php5-phpmailer/APKBUILD new file mode 100644 index 0000000000..e0e60c883c --- /dev/null +++ b/main/php5-phpmailer/APKBUILD @@ -0,0 +1,41 @@ +# 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.0 +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="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 +} + +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="aed567b80e6a3b3175d4ce27f3a9a243 PHPMailer_5.2.0.tgz" |