summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install
blob: dcf66e30aa5c029d5ab8e80b1198030102e0c93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
_pkgname=x86_64-unknown-elf-binutils-multilib

post_install() {
  linktools set $_pkgname
  linktools update binutils
}

post_upgrade() {
  post_install
}

pre_remove() {
  [[ $_pkgname == $(linktools check) ]] && {
    linktools unset
  }
}