aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pear-mail_mime/APKBUILD
blob: 730be9bc55bb1e38a4bbc1d7f8d677b712dd40cb (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
# 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"