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

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

post_upgrade() {
  post_install
}

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