aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-10-06 17:21:41 +0300
committerAndy Postnikov <apostnikov@gmail.com>2020-10-06 17:24:03 +0300
commit17a646f0a84247c000373e8437f0ae1f7403e4ee (patch)
treedf8d8a9fbfcca05117f18fb6fab29cb0e0a9592d
parent0a227f84283838f3756bdd6714195e28bcf81211 (diff)
downloadaports-17a646f0a84247c000373e8437f0ae1f7403e4ee.tar.gz
aports-17a646f0a84247c000373e8437f0ae1f7403e4ee.tar.bz2
aports-17a646f0a84247c000373e8437f0ae1f7403e4ee.tar.xz
community/php7-pecl-uuid: upgrade to 1.2.0
-rw-r--r--community/php7-pecl-uuid/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/php7-pecl-uuid/APKBUILD b/community/php7-pecl-uuid/APKBUILD
index 0fb9582b5e..ee140da400 100644
--- a/community/php7-pecl-uuid/APKBUILD
+++ b/community/php7-pecl-uuid/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-pecl-uuid
-_pkgreal=uuid
-pkgver=1.1.0
-pkgrel=2
+_extname=uuid
+pkgver=1.2.0
+pkgrel=0
pkgdesc="A wrapper around libuuid from the ext2utils project."
url="https://pecl.php.net/package/uuid"
arch="all"
license="LGPL-2.1-or-later"
depends="php7-common"
-makedepends="php7-dev autoconf re2c util-linux-dev"
-source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+makedepends="php7-dev util-linux-dev"
+source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
+builddir="$srcdir/$_extname-$pkgver"
provides="php7-uuid=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-uuid" # for backward compatibility
@@ -26,9 +26,10 @@ check() {
}
package() {
- make INSTALL_ROOT="$pkgdir"/ install
- install -d "$pkgdir"/etc/php7/conf.d
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/50_$_pkgreal.ini
+ make INSTALL_ROOT="$pkgdir" install
+ local _confdir="$pkgdir"/etc/php7/conf.d
+ install -d $_confdir
+ echo "extension=$_extname.so" > $_confdir/50_$_extname.ini
}
-sha512sums="aea814a12e266e4a9e36c58bae78927fa9de6d2b7bf9c75a911710b26958aeecd31d972f56519cf4882a4b13864bc0740ad968b06e704ce7642279253009e76d uuid-1.1.0.tgz"
+sha512sums="bd557823a8c2b78f74675a2554445eafc69193c6fe5af1f9435cdd90a8efdec0d3974ae8af759fe7d30b2f805876fc2ef55058dea245c9d89a792f634fdb0a10 php7-pecl-uuid-1.2.0.tgz"