usb2notify

LOW
maintainer Kurobac 0 votes scanned 2026-08-28 15:35:42.469825
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: Kurobac <rkurobac at gmail dot com>
2
3pkgname=usb2notify
4pkgver=1.0.0
5pkgrel=1
6pkgdesc='Notify when a SuperSpeed USB device connects at USB 2.0 speed'
7arch=('any')
8url='https://github.com/Kurobac/usb2notify'
9license=('MIT')
10depends=('libnotify' 'python')
11source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
12sha256sums=('ee80952f55d5a78e70cc4828fffaf604d0bf514fe1cd107538599c1a6c851ff9')
13
14check() {
15 cd "$pkgname-$pkgver"
16 python -B -m unittest discover -s tests
17}
18
19package() {
20 cd "$pkgname-$pkgver"
21
22 install -Dm755 src/usb2notify.py "$pkgdir/usr/bin/usb2notify"
23 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
24 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
25
26 install -Dm644 systemd/usb2notify.service.in \
27 "$pkgdir/usr/lib/systemd/user/usb2notify.service"
28 sed -i 's|@USB2NOTIFY_EXEC@|/usr/bin/usb2notify|' \
29 "$pkgdir/usr/lib/systemd/user/usb2notify.service"
30}
31

Scan history

Scanned at (UTC)SeverityRules
2026-08-28 15:35: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