From ae02ff8a59843a2c77737650d18fa36d0f2f5e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Fri, 12 Jul 2013 22:27:21 -0300 Subject: cross-binutils: adding and fixing the *.install files --- .../x86_64-unknown-gnu-binutils-multilib.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install (limited to '~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install') diff --git a/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install b/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install new file mode 100644 index 000000000..7c682ba82 --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} -- cgit v1.2.3-2-g168b