php85-igbinary
LOW
maintainer jnkrpn
0 votes
scanned 2026-10-21 15:32:06.139547
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: John Karpn <johnkarpn@gmail.com>
2
3
_name=igbinary
4
pkgname=php85-igbinary
5
pkgver=3.2.17RC1
6
pkgrel=1
7
pkgdesc="A drop in replacement for the standard php serializer"
8
arch=(x86_64)
9
url="https://github.com/igbinary/igbinary"
10
license=(BSD-3-Clause)
11
depends=(glibc)
12
makedepends=(php85)
13
source=($pkgname-$pkgver.tar.gz::https://github.com/$_name/$_name/archive/$pkgver.tar.gz)
14
sha512sums=('d26b58abb5624deeb29824d1ab9544e8cdd209f05fa361c33f1dad0c559ba6b96cf415908b9430a93aec220052f6ae84f5fa9414497ff685837f5823320a7d99')
15
b2sums=('7186601e747b4b48c8d969ff16c5a0eb462f616842a43a49d16d74992ca4d6d30a0008d8d3c9e500f218dfda536a032c18fd29dff65cecb300c60b4c80179ef0')
16
17
prepare() {
18
mv -v $_name-$pkgver $pkgname-$pkgver
19
# disable the extension by default
20
sed 's/extension/;extension/g' -i $pkgname-$pkgver/$_name.php.ini
21
22
(
23
cd $pkgname-$pkgver
24
# remove deprecated error level
25
sed 's/E_ALL|E_STRICT/E_ALL/g' -i tests/igbinary_009b_php8.phpt
26
phpize85
27
)
28
}
29
30
build() {
31
local configure_options=(
32
--prefix=/usr
33
--enable-igbinary
34
--with-php-config=/usr/bin/php-config85
35
)
36
37
(
38
cd $pkgname-$pkgver
39
./configure "${configure_options[@]}"
40
make
41
)
42
}
43
44
check() {
45
NO_INTERACTION=1 make -k test -C $pkgname-$pkgver
46
}
47
48
package() {
49
depends+=(php85)
50
backup=(etc/php85/conf.d/$_name.ini)
51
52
cd $pkgname-$pkgver
53
make INSTALL_ROOT="$pkgdir" install
54
install -vDm 644 $_name.php.ini "$pkgdir/etc/php85/conf.d/$_name.ini"
55
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
56
install -vDm 644 {CREDITS,NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
57
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 15:32:06 | Low | 1 |