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

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

post_upgrade() {
  post_install
}

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