libgourou

LOW
maintainer Ketchup901 0 votes scanned 2026-09-05 18:00:42.527733
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: Ketchup901 <ketchup901@riseup.net>
2
3pkgbase=libgourou
4pkgname=(libgourou libgourou-utils)
5pkgver=0.8.10
6pkgrel=1
7pkgdesc="Free implementation of Adobe's ADEPT protocol used to add DRM on ePub/PDF files"
8arch=('any')
9url="https://forge.soutade.fr/soutade/libgourou"
10license=('LGPL-3.0-or-later AND BSD-3-Clause')
11makedepends=(
12 'glibc'
13 'libgcc'
14 'libstdc++'
15 'updfparser'
16 'pugixml'
17 'curl'
18 'openssl>=3'
19 'libzip'
20 'zlib'
21)
22source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
23sha256sums=('4ea8d614b6731b9c3b5280196a4b94f8a588cb932f2ed7d27cf05c18c969f099')
24
25build() {
26 cd libgourou
27 make \
28 BUILD_STATIC=0 \
29 BUILD_SHARED=1 \
30 UPDFPARSERLIB="/dev/null" \
31 LDFLAGS="-lpugixml -lupdfparser -Wl,-z,relro,-z,now" \
32 obj libgourou
33
34 cd utils
35 make ROOT=..
36}
37
38package_libgourou() {
39 license=('LGPL-3.0-or-later')
40 depends=(
41 'glibc'
42 'libgcc'
43 'libstdc++'
44 'updfparser'
45 'pugixml'
46 )
47 cd libgourou
48
49 install -Dm755 "libgourou.so.$pkgver" -t "$pkgdir/usr/lib"
50 ln -s "libgourou.so.$pkgver" "$pkgdir/usr/lib/libgourou.so"
51 make DESTDIR="$pkgdir" PREFIX="/usr" install_headers
52}
53
54package_libgourou-utils() {
55 license=('BSD-3-Clause')
56 depends=(
57 'libgourou'
58 'pugixml'
59 'glibc'
60 'libgcc'
61 'libstdc++'
62 'curl'
63 'openssl>=3'
64 'libzip'
65 'zlib'
66 )
67 cd libgourou/utils
68
69 make DESTDIR="$pkgdir" PREFIX="/usr" install
70 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/libgourou-utils/"
71}
72

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 18:00:42 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