paperboy-git
LOW
maintainer jaehho
0 votes
scanned 2026-09-08 01:15:25.605207
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: Jaeho Cho <jaeho2025@gmail.com>
2
pkgname=paperboy-git
3
_pkgname=paperboy
4
pkgver=1.0.0
5
pkgrel=1
6
pkgdesc="One new photograph a day, and the ones you kept"
7
arch=('any')
8
url="https://github.com/jaehho/paperboy"
9
license=('MIT')
10
# python-gobject, gtk4 and libadwaita are only needed by `paperboy gui`; the
11
# fetch that runs from a systemd timer uses nothing but the standard library.
12
depends=('python' 'python-gobject' 'gtk4' 'libadwaita')
13
optdepends=('hyprpaper: setting the wallpaper under Hyprland'
14
'libnotify: desktop notifications'
15
'xdg-desktop-portal: opening source pages and signup pages')
16
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
17
'python-wheel')
18
provides=("$_pkgname")
19
conflicts=("$_pkgname")
20
source=("git+$url.git")
21
sha256sums=('SKIP')
22
23
pkgver() {
24
cd "$_pkgname"
25
local desc
26
if desc=$(git describe --long --tags --abbrev=7 2>/dev/null); then
27
# tagged: v1.2.3-4-gabcdef -> 1.2.3.r4.gabcdef
28
printf '%s' "$desc" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
29
else
30
# no tags yet: 1.0.0.r<commits>.g<short>
31
printf '1.0.0.r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
32
fi
33
}
34
35
build() {
36
cd "$_pkgname"
37
python -m build --wheel --no-isolation
38
}
39
40
check() {
41
cd "$_pkgname"
42
# The suite deletes files, so it insists on being pointed at a scratch
43
# collection; -t . is what imports the tests package that does the pointing.
44
python -m unittest discover -s tests -t .
45
}
46
47
package() {
48
cd "$_pkgname"
49
python -m installer --destdir="$pkgdir" dist/*.whl
50
install -Dm644 packaging/dev.jaeho.Paperboy.desktop \
51
"$pkgdir/usr/share/applications/dev.jaeho.Paperboy.desktop"
52
install -Dm644 README.md "$pkgdir/usr/share/doc/$_pkgname/README.md"
53
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
54
}
55
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-08 01:15:25 | Low | 1 |