docscan
LOW
maintainer salehjg
0 votes
scanned 2026-10-06 18:03:40.155073
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: saleh <salehjamaligolzar@gmail.com>
2
pkgname=docscan
3
pkgver=0.1.0
4
pkgrel=1
5
pkgdesc='Turn photos of documents into clean, straight PDF pages, like Microsoft Lens'
6
arch=('x86_64' 'aarch64')
7
url='https://github.com/salehjg/docscan'
8
license=('GPL-3.0-or-later')
9
depends=('opencv' 'texlive-basic' 'gcc-libs' 'glibc')
10
makedepends=('cmake' 'cli11')
11
checkdepends=('catch2')
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13
sha256sums=('d278f0251a22d2654babcb7f141d15165cd0b3a8f9d0165800752b63b64a63c3')
14
15
build() {
16
cmake -B build -S "$pkgname-$pkgver" \
17
-DCMAKE_BUILD_TYPE=None \
18
-DCMAKE_INSTALL_PREFIX=/usr
19
cmake --build build
20
}
21
22
check() {
23
cmake -B build -S "$pkgname-$pkgver" -DDOCSCAN_BUILD_TESTS=ON
24
cmake --build build
25
ctest --test-dir build --output-on-failure
26
}
27
28
package() {
29
DESTDIR="$pkgdir" cmake --install build
30
}
31
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 18:03:40 | Low | 1 |