Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a4baddcdb
|
||
|
|
ebc19057ea
|
@@ -3,7 +3,7 @@
|
||||
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
|
||||
|
||||
pkgname=update-notify
|
||||
pkgver=3.6
|
||||
pkgver=3.7
|
||||
pkgrel=1
|
||||
pkgdesc='Notify when updates are available'
|
||||
arch=('any')
|
||||
@@ -17,7 +17,7 @@ optdepends=('aurutils: to check AUR packages in the local repo for updates'
|
||||
'git-monitor: to check git repos for updates')
|
||||
source=("git+$url?signed#tag=$pkgver")
|
||||
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
||||
sha256sums=('3efd5deadb6619b0fbc46d0559716feb117d095ce1068a02da53c3e14e88af68')
|
||||
sha256sums=('89ffddcb3fc0b82fdaec61defb374127d720655c35f2157cfe0d543360df22ab')
|
||||
|
||||
package()
|
||||
{
|
||||
@@ -25,6 +25,9 @@ package()
|
||||
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
|
||||
install -Dm644 "$pkgname".service "$pkgdir"/usr/lib/systemd/user/"$pkgname".service
|
||||
install -Dm644 "$pkgname".timer "$pkgdir"/usr/lib/systemd/user/"$pkgname".timer
|
||||
install -Dm644 "$pkgname".path "$pkgdir"/usr/lib/systemd/user/"$pkgname".path
|
||||
install -Dm755 "$pkgname"-refresh "$pkgdir"/usr/lib/"$pkgname"/refresh
|
||||
install -Dm644 "$pkgname".hook "$pkgdir"/usr/share/libalpm/hooks/"$pkgname".hook
|
||||
install -Dm644 README.md "$pkgdir"/usr/share/doc/"$pkgname"/README.md
|
||||
install -Dm644 config.example "$pkgdir"/usr/share/doc/"$pkgname"/config.example
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ update-notify runs on a systemd user timer and checks:
|
||||
|
||||
It sends one notification, and only when its content changes since the last one:
|
||||
|
||||
- Update counts are shown once the total number of updates reaches a threshold (default 30). Reminders for `git-monitor` and pending firmware updates (`fwupdmgr`) are added when those tools are installed.
|
||||
- Update counts are shown once the total number of updates reaches a threshold (default 30). Reminders for `git-monitor` and pending firmware updates (`fwupdmgr`) are added when those tools are installed, and one to run `trustsight` before building pending AUR updates.
|
||||
- Kernel rebuild reminders are always shown, even below the threshold.
|
||||
|
||||
## Requirements
|
||||
@@ -23,6 +23,7 @@ Optional:
|
||||
- `aurutils`: check AUR packages in the local repository
|
||||
- `fwupd`: check for firmware updates
|
||||
- `git-monitor`: remind to check git packages
|
||||
- `trustsight`: remind to vet AUR updates before building them
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
@@ -175,6 +175,11 @@ if (( over_threshold )); then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Vet AUR changes before building them
|
||||
if (( aur_updates )) && command -v trustsight >/dev/null 2>&1; then
|
||||
parts+=("Before aur sync: trustsight review --repo $AUR_REPO")
|
||||
fi
|
||||
|
||||
if (( ${#reminders[@]} )); then
|
||||
printf -v list '%s, ' "${reminders[@]}"
|
||||
parts+=("Also check: ${list%, }")
|
||||
|
||||
Reference in New Issue
Block a user