@friedev Thanks for the report! The Makefile should now honor CARGO_TARGET_DIR (since v4.2.2).
Search Criteria
Package Details: arch-update 4.4.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/arch-update.git (read-only, click to copy) |
|---|---|
| Package Base: | arch-update |
| Description: | An interactive update notifier & applier that assists you with important pre / post update tasks |
| Upstream URL: | https://github.com/Antiz96/arch-update |
| Keywords: | applet aur check icon notification notify pacman paru pikaur systray update yay |
| Licenses: | GPL-3.0-or-later |
| Submitter: | Antiz |
| Maintainer: | Antiz |
| Last Packager: | Antiz |
| Votes: | 74 |
| Popularity: | 12.13 |
| First Submitted: | 2022-03-30 19:53 (UTC) |
| Last Updated: | 2026-09-16 21:15 (UTC) |
Dependencies (29)
- archlinux-contrib
- bash (bash-gitAUR, bash-devel-gitAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- diffutils
- fakeroot (fakeroot-gitAUR, fakeroot-tcpAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- htmlq
- libgcc (libgcc-fast-optimizedAUR, libgcc-snapshotAUR)
- pacman (pacman-gitAUR, pacman-fancy-gitAUR, pacman-selinuxAUR)
- pacman-contrib (pacman-contrib-gitAUR)
- systemd (unshitted-systemdAUR, systemd-gitAUR, systemd-liberated-gitAUR, systemd-selinuxAUR, systemd-remove-birthdateAUR)
- util-linux (util-linux-aesAUR, util-linux-selinuxAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR, xdg-utils-gitAUR)
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (make)
- scdoc (scdoc-gitAUR) (make)
- bats (check)
- alhp-utilsAUR (optional) – Check for ALHP build queue or outdated mirrors
- flatpak (flatpak-gitAUR, flatpak-local-gitAUR) (optional) – Flatpak Packages support
- Show 9 more dependencies...
Required by (1)
- arch-smart-update (optional)
Sources (1)
Antiz commented on 2026-09-06 20:35 (UTC)
friedev commented on 2026-09-06 13:04 (UTC)
Exporting CARGO_TARGET_DIR breaks package():
==> Starting package()...
# Install main script
install -Dm 755 "src/arch-update.sh" "/home/USER/.cache/yay/arch-update/pkg/arch-update/usr/bin/arch-update"
# Install libraries
install -Dm 755 src/lib/* -t "/home/USER/.cache/yay/arch-update/pkg/arch-update/usr/share/arch-update/lib/"
# Install systray applet
install -Dm 755 "src/tray/target/release/arch-update-tray" "/home/USER/.cache/yay/arch-update/pkg/arch-update/usr/lib/arch-update/arch-update-tray"
install: cannot stat 'src/tray/target/release/arch-update-tray': No such file or directory
make: *** [Makefile:32: install] Error 1
Fix: unset CARGO_TARGET_DIR before making the package:
env -u CARGO_TARGET_DIR makepkg
Or, to apply the fix to all Cargo packages, unset it in your makepkg.conf:
unset CARGO_TARGET_DIR
@Antiz Consider unsetting it in build() as a quick fix.
diff --git a/PKGBUILD b/PKGBUILD
index cd7a68d..c20dc89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,6 +32,7 @@ prepare() {
build() {
cd "${pkgname}-${pkgver}"
+ unset CARGO_TARGET_DIR
make
}
I think a better long-term fix would be updating the Makefile to respect CARGO_TARGET_DIR when set.
Antiz commented on 2026-08-19 07:27 (UTC)
@danyuri86 @vandraren Thanks for the kind words!
However, I'm afraid there's little to no chance for Arch-Update to ever enter the Arch Linux official repository in the current state of things... The fact that it wraps pacman for some operations and the support for AUR updates (even if optional) probably disqualifies it for an eventual promotion (see https://wiki.archlinux.org/title/Package_Maintainer_guidelines#Rules_for_packages_entering_the_extra_repository).
vandraren commented on 2026-08-19 07:00 (UTC)
this needs to be in extra yesterday. Voted.
danyuri86 commented on 2026-03-27 20:53 (UTC)
just voted for this package, hope it finds its way into official repo its flawless
niluzz commented on 2026-02-27 18:04 (UTC)
Gnome is slow to respond. It's also not possible to move the icon in the system tray to your desired location
Antiz commented on 2024-05-10 21:29 (UTC) (edited on 2026-07-24 19:59 (UTC) by Antiz)
To start and enable the automated update checks and the systray applet, run:
arch-update --check --enable
arch-update --tray --enable
See this https://github.com/Antiz96/arch-update?tab=readme-ov-file#usage for more details.
Pinned Comments
Antiz commented on 2024-05-10 21:29 (UTC) (edited on 2026-07-24 19:59 (UTC) by Antiz)
To start and enable the automated update checks and the systray applet, run:
See this https://github.com/Antiz96/arch-update?tab=readme-ov-file#usage for more details.