aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 01:27:29 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 08:06:52 +0000
commit863d0826f5816d18cad580fd9e2821d8116d0d0c (patch)
treecbae65dc0e94d9ae8534b2380f8e0c8921a30787
parentf544240fd8ecf78b652d0dd361e1d4261ba64f1a (diff)
downloadaports-863d0826f5816d18cad580fd9e2821d8116d0d0c.tar.bz2
aports-863d0826f5816d18cad580fd9e2821d8116d0d0c.tar.xz
community/php7-pear-mail_mime: modernize, fix license
-rw-r--r--community/php7-pear-mail_mime/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/php7-pear-mail_mime/APKBUILD b/community/php7-pear-mail_mime/APKBUILD
index ad8c358842..1f956e6ee1 100644
--- a/community/php7-pear-mail_mime/APKBUILD
+++ b/community/php7-pear-mail_mime/APKBUILD
@@ -3,24 +3,18 @@ _php=php7
pkgname=${_php}-pear-mail_mime
_realname=Mail_Mime
pkgver=1.10.2
-pkgrel=0
+pkgrel=1
pkgdesc="Mail_Mime provides classes to create MIME messages"
url="http://pear.php.net/package/Mail_Mime/"
arch="noarch"
-license="BSD"
+license="BSD-3-Clause"
depends="${_php}-pear"
-makedepends="$depends_dev ${_php}-pear"
-options="!check"
+options="!check" # No testsuite
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/ && \