libdeflate-x64v2

LOW
maintainer antonio_breno 0 votes scanned 2026-10-30 17:56:37.877434
View on AUR
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

1pkgname=libdeflate-x64v2
2pkgver=1.26
3pkgrel=1
4pkgdesc='Heavily optimized DEFLATE/zlib/gzip compression and decompression (x86-64-v2)'
5arch=(x86_64)
6url=https://github.com/ebiggers/libdeflate
7license=(MIT)
8depends=(glibc)
9makedepends=(cmake git ninja)
10
11provides=("libdeflate=${pkgver}" libdeflate.so)
12conflicts=(libdeflate)
13
14source=(git+https://github.com/ebiggers/libdeflate.git#tag=v${pkgver})
15b2sums=('00204ed5c71f5601e2dfa33dd38b32abcd66d9f9257c8a0d3a1c678529c5a94f2cb31a623001a6ffd950a508bd583ad9dabaefb03de112c97c362a32f7264df8')
16
17build() {
18 export CFLAGS+=" -march=x86-64-v2"
19 export CXXFLAGS+=" -march=x86-64-v2"
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
31check() {
32 ctest --test-dir build
33}
34
35package() {
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)SeverityRules
2026-10-30 17:56:37 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion