libmempressure

LOW
maintainer ixaxaar 0 votes scanned 2026-10-27 21:48:49.990097
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

1# Maintainer: kutu OS contributors <release@kutu.so>
2
3pkgname=libmempressure
4pkgver=0.2.1
5pkgrel=1
6pkgdesc='Memory-pressure events from kernel PSI for applications, an onTrimMemory for Linux'
7arch=('x86_64' 'aarch64')
8url='https://github.com/kutuso/libmempressure'
9license=('MIT')
10depends=('glibc')
11makedepends=('cmake')
12checkdepends=('binutils')
13source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
14sha256sums=('4772859a141dc81e989790227ba4265a49d6cb030c1f278381ee6e6e7b1facf1')
15
16build() {
17 cmake -S "$pkgname-$pkgver" -B build \
18 -DCMAKE_BUILD_TYPE=None \
19 -DCMAKE_INSTALL_PREFIX=/usr \
20 -DCMAKE_INSTALL_LIBDIR=lib \
21 -DMP_PYTHON=OFF \
22 -DMP_JAVA=OFF \
23 -DMP_BUILD_TESTS=ON \
24 -Wno-dev
25 cmake --build build
26}
27
28check() {
29 ctest --test-dir build --output-on-failure
30}
31
32package() {
33 DESTDIR="$pkgdir" cmake --install build
34 install -Dm644 "$pkgname-$pkgver/LICENSE" \
35 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-10-27 21:48:49 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