summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-12 05:45:30 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-12 05:45:30 -0300
commit7c466735fb86bba16c9366629fe160ae2fd5c25d (patch)
tree7af315be4cf473906371edab04203e4f0ba0de71 /~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install
parent46336a5f5a466ad811ce9f1023bf962e817fbd16 (diff)
cross-binutils: add pkgbuild to ~coadde repo, due this for testing
Diffstat (limited to '~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install')
-rw-r--r--~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install b/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install
new file mode 100644
index 000000000..f14abdfaa
--- /dev/null
+++ b/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=i586-pc-linux-gnu-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}