aports/testing/php81-pecl-uuid/APKBUILD
2025-05-13 00:58:02 +02:00

35 lines
1,015 B
Text

# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php81-pecl-uuid
_extname=uuid
pkgver=1.3.0
pkgrel=0
pkgdesc="PHP 8.1 wrapper around libuuid from the ext2utils project - PECL"
url="https://pecl.php.net/package/uuid"
arch="all"
license="LGPL-2.1-or-later"
depends="php81-common"
makedepends="php81-dev util-linux-dev"
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver"
build() {
phpize81
./configure --prefix=/usr --with-php-config=php-config81
make
}
check() {
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php81/conf.d
install -d $_confdir
echo "extension=$_extname" > $_confdir/50_$_extname.ini
}
sha512sums="
92fd2c9387a6f38b83cb2a1bcad8be29c9774b7f38b2047b9733fea84fa37ef29aab04359be3c46039fe3a568f91ebf934dde30d560f14d79896f4f62cf7fcaa php-pecl-uuid-1.3.0.tgz
"