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

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

post_upgrade() {
  post_install
}

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