paperboy-git

LOW
maintainer jaehho 0 votes scanned 2026-09-08 01:15:25.605207
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: Jaeho Cho <jaeho2025@gmail.com>
2pkgname=paperboy-git
3_pkgname=paperboy
4pkgver=1.0.0
5pkgrel=1
6pkgdesc="One new photograph a day, and the ones you kept"
7arch=('any')
8url="https://github.com/jaehho/paperboy"
9license=('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.
12depends=('python' 'python-gobject' 'gtk4' 'libadwaita')
13optdepends=('hyprpaper: setting the wallpaper under Hyprland'
14 'libnotify: desktop notifications'
15 'xdg-desktop-portal: opening source pages and signup pages')
16makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
17 'python-wheel')
18provides=("$_pkgname")
19conflicts=("$_pkgname")
20source=("git+$url.git")
21sha256sums=('SKIP')
22
23pkgver() {
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
35build() {
36 cd "$_pkgname"
37 python -m build --wheel --no-isolation
38}
39
40check() {
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
47package() {
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)SeverityRules
2026-09-08 01:15:25 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