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

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

post_upgrade() {
  post_install
}

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