archlinux-pkgbuilds/aurutils/aurutils.install

50 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-01-10 17:21:24 +01:00
post_upgrade() {
2019-01-25 20:45:44 +01:00
if (( $(vercmp '2.0.0-1' "$2") == 1 )); then
2019-01-10 17:21:24 +01:00
cat >&2 <<-EOF
As of 2.0.0, aurutils no longer supports repose. If you have repose installed,
please rebuild your local repository using repo-add. See:
https://bbs.archlinux.org/viewtopic.php?pid=1707649#p1707649
for detailed instructions. For the 2.0.0 changelog, see:
https://github.com/AladW/aurutils/releases/tag/2.0.0
2020-11-09 12:04:05 +01:00
EOF
fi
if (( $(vercmp '3.0.0-1' "$2") == 1 )); then
cat >&2 <<-EOF
As of 3.0.0, aurutils requires a separate pacman configuration for chroot
builds. The file path defaults to /usr/share/devtools/pacman/aur.conf.
For this and other changes, see the aurutils 3.0 blog:
https://pkgbuild.com/~alad/aurutils_3.html
EOF
fi
if (( $(vercmp '3.1.0-1' "$2") == 1 )); then
cat >&2 <<-EOF
As of 3.1.0, the default path of the pacman configuration for chroot builds
moved from /usr/share/devtools/pacman-aur.conf to
/etc/aurutils/pacman-<repository name>.conf
More information about this file was added to the aur-build man page.
2021-12-01 13:26:37 +01:00
EOF
fi
if (( $(vercmp '3.2.0-1' "$2") == 1 )); then
cat >&2 <<-EOF
As of 3.2.0, if --chroot is specified without --database, aur-build assumes
2021-12-06 16:08:12 +01:00
pacman.conf is located in /etc/aurutils/pacman-$(uname -m).conf.
2021-12-01 13:26:37 +01:00
See the 3.2.0 changelog for more information:
https://github.com/AladW/aurutils/releases/tag/3.2.0
2019-01-10 17:21:24 +01:00
EOF
fi
}