aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2018-10-21 00:36:10 +0300
committerAndy Postnikov <apostnikov@gmail.com>2018-10-21 00:41:45 +0300
commit9f6448c10b8fcbd292acccb45130909e38e829e6 (patch)
tree684c5047004fc35d17768b50fdc9ed8ff06e16ed
parent87de79fa2a249213136e19b80b3ae974037518eb (diff)
downloadaports-9f6448c10b8fcbd292acccb45130909e38e829e6.tar.bz2
aports-9f6448c10b8fcbd292acccb45130909e38e829e6.tar.xz
community/php7-pecl-timezonedb: renamed from php7-timezonedb, modernize
-rw-r--r--community/php7-pecl-timezonedb/APKBUILD (renamed from community/php7-timezonedb/APKBUILD)8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/php7-timezonedb/APKBUILD b/community/php7-pecl-timezonedb/APKBUILD
index 8076ee0577..899697d954 100644
--- a/community/php7-timezonedb/APKBUILD
+++ b/community/php7-pecl-timezonedb/APKBUILD
@@ -1,18 +1,20 @@
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
-pkgname=php7-timezonedb
+pkgname=php7-pecl-timezonedb
_pkgreal=timezonedb
pkgver=2018.5
-pkgrel=0
+pkgrel=1
pkgdesc="Timezone Database to be used with PHP's date and time functions."
url="https://pecl.php.net/package/timezonedb"
arch="all"
license="PHP"
-depends=""
+depends="php7-common"
makedepends="php7-dev autoconf"
source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
options="!check" # upstream does not provide tests yet
+provides="php7-timezonedb=$pkgver-r$pkgrel" # for backward compatibility
+replaces="php7-timezonedb" # for backward compatibility
build() {
cd "$builddir"