diff options
-rw-r--r-- | community/php7-pecl-event/APKBUILD (renamed from community/php7-event/APKBUILD) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/community/php7-event/APKBUILD b/community/php7-pecl-event/APKBUILD index fb126cdec1..d2d7d6f603 100644 --- a/community/php7-event/APKBUILD +++ b/community/php7-pecl-event/APKBUILD @@ -1,17 +1,19 @@ # Contributor: Andy Postnikov <apostnikov@gmail.com> # Maintainer: Andy Postnikov <apostnikov@gmail.com> -pkgname=php7-event +pkgname=php7-pecl-event _pkgname=event pkgver=2.4.1 -pkgrel=0 -pkgdesc="PHP extension that provides interface to libevent library" +pkgrel=1 +pkgdesc="PHP extension that provides interface to libevent library - PECL" url="https://pecl.php.net/package/event" arch="all" license="PHP-3.01" depends="php7 php7-sockets" -makedepends="php7-dev autoconf libevent-dev libressl-dev pkgconf" +makedepends="php7-dev autoconf libevent-dev libressl-dev pkgconf re2c" source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgname-$pkgver.tgz" builddir="$srcdir/$_pkgname-$pkgver" +provides="php7-event=$pkgver-r$pkgrel" # for backward compatibility +replaces="php7-event" # for backward compatibility build() { cd "$builddir" @@ -37,4 +39,4 @@ package() { echo "extension=$_pkgname.so" > "$pkgdir"/etc/php7/conf.d/$_pkgname.ini } -sha512sums="d115fa12dfefe164532b39b6a79f01c2c00e2718967c3d675584a0dd193b155cdc74a632f6327239e201720fbabd440b9434bde5de4a9e30373595636dafad94 php7-event-2.4.1.tgz" +sha512sums="d115fa12dfefe164532b39b6a79f01c2c00e2718967c3d675584a0dd193b155cdc74a632f6327239e201720fbabd440b9434bde5de4a9e30373595636dafad94 php7-pecl-event-2.4.1.tgz" |