summarylogtreecommitdiffstats
path: root/libmakepkg-hexora.install
blob: a61648720c522d91f13210e92a21b857cb3b79c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
post_install() {
  cat >&2 << 'EOF'

    ##                                                          ##
    ## If you are going to run makepkg in a chroot, make sure   ##
    ## to install the `libmakepkg-hexora` package there, too.   ##
    ##                                                          ##
    ## You can use arch-nspawn for this like so:                ##
    ##                                                          ##
          arch-nspawn /path/to/your/chroot/root pacman -Syu \
              libmakepkg-hexora
    ##                                                          ##

EOF
}


post_upgrade() {
  cat >&2 << 'EOF'

    ##                                                          ##
    ## If you are going to run makepkg in a chroot, make sure   ##
    ## to install or upgrade `libmakepkg-hexora` there, too.    ##
    ##                                                          ##
    ## You can use arch-nspawn for this like so:                ##
    ##                                                          ##
          arch-nspawn /path/to/your/chroot/root pacman -Syu \
              libmakepkg-hexora
    ##                                                          ##

EOF
}


post_remove() {
  cat >&2 << 'EOF'

    ##                                                          ##
    ## If you have `libmakepkg-hexora` installed in a chroot,   ##
    ## make sure to uninstall it from the chroot, too.          ##
    ##                                                          ##
    ## You can use arch-nspawn for this like so:                ##
    ##                                                          ##
          arch-nspawn /path/to/your/chroot/root pacman -R \
              libmakepkg-hexora
    ##                                                          ##

EOF
}