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

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

post_upgrade() {
  post_install
}

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