mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
32 lines
961 B
Text
32 lines
961 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=php8-pecl-psr
|
|
_extname=psr
|
|
pkgver=1.1.0
|
|
pkgrel=0
|
|
pkgdesc="PHP 8 extension provides the accepted PSR interfaces, so they can be used in an extension - PECL"
|
|
url="https://pecl.php.net/package/psr"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
depends="php8-common"
|
|
makedepends="php8-dev"
|
|
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
builddir="$srcdir/$_extname-$pkgver"
|
|
|
|
build() {
|
|
phpize8
|
|
./configure --prefix=/usr --with-php-config=php-config8
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
local _confdir="$pkgdir"/etc/php8/conf.d
|
|
install -d $_confdir
|
|
echo "extension=$_extname" > $_confdir/$_extname.ini
|
|
}
|
|
|
|
sha512sums="ddcae1fd3d47f7407fed143dd91aaebbcbfcdd1b6006ed6b844a55a61ec616a40446d28ae761292f82e887dfdfb26678eb57552ef395f5bd7d2fd4e3ccbe79ea php-pecl-psr-1.1.0.tgz"
|