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

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

post_upgrade() {
  post_install
}

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