aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pear-mail_mime/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/php7-pear-mail_mime/APKBUILD')
-rw-r--r--community/php7-pear-mail_mime/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/php7-pear-mail_mime/APKBUILD b/community/php7-pear-mail_mime/APKBUILD
new file mode 100644
index 0000000000..730be9bc55
--- /dev/null
+++ b/community/php7-pear-mail_mime/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+_php=php7
+pkgname=${_php}-pear-mail_mime
+_realname=Mail_Mime
+pkgver=1.10.0
+pkgrel=0
+pkgdesc="Mail_Mime provides classes to create MIME messages"
+url="http://pear.php.net/package/Mail_Mime/"
+arch="noarch"
+license="BSD"
+depends="${_php}-pear"
+makedepends="$depends_dev ${_php}-pear"
+options="!check"
+source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
+builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+ return 0
+}
+
+package() {
+ _phpdir="usr/share/${_php}"
+ cd "$builddir"
+ install -d "$pkgdir"/$_phpdir/PEAR && \
+ cp -R Mail "$pkgdir"/$_phpdir/PEAR
+ install -d "$pkgdir"/$_phpdir/doc/$_realname/ && \
+ cp -R scripts "$pkgdir"/$_phpdir/doc/$_realname
+ install -d "$pkgdir"/$_phpdir/test/$_realname && \
+ cp -R tests "$pkgdir"/$_phpdir/test/$_realname
+}
+
+sha512sums="7fe54db4b0dee1ab3186d9ba8d4e5be02ddbcef530f1a3b70e509ca43ef0e4516ba8e829ba4397a30a703fcdbf42de36c10c204269ffa8be5d5f254e8929c9d6 Mail_Mime-1.10.0.tgz"