libdeflate-x64v3
LOW
maintainer antonio_breno
0 votes
scanned 2026-10-30 17:56:37.877434
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
pkgname=libdeflate-x64v3
2
pkgver=1.26
3
pkgrel=1
4
pkgdesc='Heavily optimized DEFLATE/zlib/gzip compression and decompression (x86-64-v3)'
5
arch=(x86_64)
6
url=https://github.com/ebiggers/libdeflate
7
license=(MIT)
8
depends=(glibc)
9
makedepends=(cmake git ninja)
10
11
provides=("libdeflate=${pkgver}" libdeflate.so)
12
conflicts=(libdeflate)
13
14
source=(git+https://github.com/ebiggers/libdeflate.git#tag=v${pkgver})
15
b2sums=('00204ed5c71f5601e2dfa33dd38b32abcd66d9f9257c8a0d3a1c678529c5a94f2cb31a623001a6ffd950a508bd583ad9dabaefb03de112c97c362a32f7264df8')
16
17
build() {
18
export CFLAGS+=" -march=x86-64-v3"
19
export CXXFLAGS+=" -march=x86-64-v3"
20
21
cmake -S libdeflate -B build -G Ninja \
22
-DCMAKE_BUILD_TYPE=None \
23
-DCMAKE_INSTALL_PREFIX=/usr \
24
-DCMAKE_C_FLAGS="${CFLAGS}" \
25
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
26
-DLIBDEFLATE_BUILD_STATIC_LIB=OFF \
27
-DLIBDEFLATE_BUILD_TESTS=ON
28
cmake --build build
29
}
30
31
check() {
32
ctest --test-dir build
33
}
34
35
package() {
36
DESTDIR="${pkgdir}" cmake --install build
37
install -Dm644 libdeflate/COPYING \
38
-t "${pkgdir}/usr/share/licenses/${pkgname}/"
39
}
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 17:56:37 | Low | 1 |