diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-07 12:41:01 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-07 12:50:10 +0000 |
commit | c12df273e260e6a86177d7a6072db5f271b8534f (patch) | |
tree | 3ed134a9a73a59f4a0cb7bcee49a8a42f52c70cc /community/php7-pear-mail_mime/APKBUILD | |
parent | 5cb69f8f95f889713efe34995dab273a6f5bb51a (diff) | |
download | aports-c12df273e260e6a86177d7a6072db5f271b8534f.tar.bz2 aports-c12df273e260e6a86177d7a6072db5f271b8534f.tar.xz |
community/php7-pear-mail_mime: new aport
Diffstat (limited to 'community/php7-pear-mail_mime/APKBUILD')
-rw-r--r-- | community/php7-pear-mail_mime/APKBUILD | 32 |
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" |