aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/php7-pecl-mailparse/APKBUILD (renamed from community/php7-mailparse/APKBUILD)8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/php7-mailparse/APKBUILD b/community/php7-pecl-mailparse/APKBUILD
index 2abd269fb2..a30ee4ff34 100644
--- a/community/php7-mailparse/APKBUILD
+++ b/community/php7-pecl-mailparse/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
-pkgname=php7-mailparse
+pkgname=php7-pecl-mailparse
_pkgreal=mailparse
pkgver=3.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="PHP extension for parsing and working with email messages - PECL"
url="https://pecl.php.net/package/mailparse"
arch="all"
@@ -12,6 +12,8 @@ depends="php7-common php7-mbstring"
makedepends="php7-dev autoconf re2c"
source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
+provides="php7-mailparse=$pkgver-r$pkgrel" # for backward compatibility
+replaces="php7-mailparse" # for backward compatibility
build() {
cd "$builddir"
@@ -40,4 +42,4 @@ package() {
echo "extension=$_pkgreal.so" > "$confdir"/60_$_pkgreal.ini
}
-sha512sums="be04e15cf3577542447186d7ead4e31159c171c99de0a255d4ee2f6f760b80ecb44be056bd9089180601f622b9a71f4331f194e1adaa702d1d964009682896f6 php7-mailparse-3.0.2.tgz"
+sha512sums="be04e15cf3577542447186d7ead4e31159c171c99de0a255d4ee2f6f760b80ecb44be056bd9089180601f622b9a71f4331f194e1adaa702d1d964009682896f6 php7-pecl-mailparse-3.0.2.tgz"