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

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

post_upgrade() {
  post_install
}

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