usb2notify
LOW
maintainer Kurobac
0 votes
scanned 2026-08-28 15:35:42.469825
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
3
pkgname=usb2notify
4
pkgver=1.0.0
5
pkgrel=1
6
pkgdesc='Notify when a SuperSpeed USB device connects at USB 2.0 speed'
7
arch=('any')
8
url='https://github.com/Kurobac/usb2notify'
9
license=('MIT')
10
depends=('libnotify' 'python')
11
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
12
sha256sums=('ee80952f55d5a78e70cc4828fffaf604d0bf514fe1cd107538599c1a6c851ff9')
13
14
check() {
15
cd "$pkgname-$pkgver"
16
python -B -m unittest discover -s tests
17
}
18
19
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-28 15:35:42 | Low | 1 |