Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c1bdfd4dd
|
||
|
|
b5e1395468
|
||
|
|
15bc29d890
|
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
|
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
|
||||||
|
|
||||||
pkgname=update-notify
|
pkgname=update-notify
|
||||||
pkgver=3.11
|
pkgver=3.11.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Notify when updates are available'
|
pkgdesc='Notify when updates are available'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@@ -18,7 +18,7 @@ optdepends=('aurutils: to check AUR packages in the local repo for updates'
|
|||||||
'trustsight: to vet AUR updates before building them')
|
'trustsight: to vet AUR updates before building them')
|
||||||
source=("git+$url?signed#tag=$pkgver")
|
source=("git+$url?signed#tag=$pkgver")
|
||||||
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
||||||
sha256sums=('d298653e424465665d34896eee38f9e5cc6a1da6e319915011fa00106eac0a2e')
|
sha256sums=('09fa8cbde71ae801166852add9f8f43b52fa0ee4c3fe8c94636d61c51523283e')
|
||||||
|
|
||||||
package()
|
package()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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:
|
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, and one to run `trustsight` before building pending AUR updates.
|
- 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.
|
||||||
- Kernel rebuild reminders are always shown, even below the threshold.
|
- Kernel rebuild reminders are always shown, even below the threshold.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
@@ -23,17 +23,16 @@ Optional:
|
|||||||
- `aurutils`: check AUR packages in the local repository
|
- `aurutils`: check AUR packages in the local repository
|
||||||
- `fwupd`: check for firmware updates
|
- `fwupd`: check for firmware updates
|
||||||
- `git-monitor`: remind to check git packages
|
- `git-monitor`: remind to check git packages
|
||||||
- `trustsight`: remind to vet AUR updates before building them
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Build and install the package with the included PKGBUILD:
|
Build and install the package with the included PKGBUILD, which builds the signed release tag set in `pkgver`:
|
||||||
|
|
||||||
```
|
```
|
||||||
makepkg -si
|
makepkg -si
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, with aurutils, build it into your local repository with `aur build` and install it with pacman.
|
Or, with aurutils, build it into a local repository with `aur build` and install it with pacman.
|
||||||
|
|
||||||
Then enable the timer:
|
Then enable the timer:
|
||||||
|
|
||||||
|
|||||||
@@ -191,11 +191,6 @@ if (( over_threshold )); then
|
|||||||
fi
|
fi
|
||||||
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 --record --repo $AUR_REPO")
|
|
||||||
fi
|
|
||||||
|
|
||||||
if (( ${#reminders[@]} )); then
|
if (( ${#reminders[@]} )); then
|
||||||
printf -v list '%s, ' "${reminders[@]}"
|
printf -v list '%s, ' "${reminders[@]}"
|
||||||
parts+=("Also check: ${list%, }")
|
parts+=("Also check: ${list%, }")
|
||||||
|
|||||||
Reference in New Issue
Block a user