summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-07-12 22:53:11 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-07-12 22:53:11 -0300
commite14736ca7ac051726b587d8fdb8368be502a9109 (patch)
tree6a40b3b2de9bf45e8f31ba5fd45ee8f2615bd4ae /~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install
parente6e169990bdfc35fb6151f148510bf3f0da1dc1e (diff)
parent360a407f262ac47087ff29718465fbfc7765cb73 (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to '~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install')
-rw-r--r--~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install16
1 files changed, 16 insertions, 0 deletions
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
+ }
+}