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

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

post_upgrade() {
  post_install
}

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