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

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

post_upgrade() {
  post_install
}

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