aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2021-02-23 03:56:28 +0200
committerAndy Postnikov <apostnikov@gmail.com>2021-02-23 03:57:40 +0200
commitb1377d0aa69324af376165a7df88406b4ccf2615 (patch)
tree467d8e6b119953eb518e5e90af9d0e258134788d
parent70943a16102cd3d51cd05908cad8fc7fa59b2b2e (diff)
downloadaports-b1377d0aa69324af376165a7df88406b4ccf2615.tar.gz
aports-b1377d0aa69324af376165a7df88406b4ccf2615.tar.bz2
aports-b1377d0aa69324af376165a7df88406b4ccf2615.tar.xz
testing/php8-pecl-csv: fix name to lowercase for .ini
-rw-r--r--testing/php8-pecl-csv/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/php8-pecl-csv/APKBUILD b/testing/php8-pecl-csv/APKBUILD
index 4e91e05357..ba09082509 100644
--- a/testing/php8-pecl-csv/APKBUILD
+++ b/testing/php8-pecl-csv/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php8-pecl-csv
_extname=CSV
pkgver=0.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="CSV PHP 8 extension - PECL"
url="https://pecl.php.net/package/CSV"
arch="all"
@@ -21,13 +21,14 @@ build() {
check() {
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
+ php8 -dextension=modules/csv.so --ri csv
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php8/conf.d
install -d $_confdir
- echo "extension=$_extname" > $_confdir/$_extname.ini
+ echo "extension=csv" > $_confdir/csv.ini
}
sha512sums="6ffe135f8a64ba070d59474047ca981513a6e6bfd12e44540e69b8fa4a39f67657a90a3243c9213ce4e49d6864f7a82195e6c1a1e0e38cc55265fdefba3736aa php-pecl-CSV-0.4.0.tgz"