summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/mips64el-unknown-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/mips64el-unknown-linux-gnu-binutils.install
parent46336a5f5a466ad811ce9f1023bf962e817fbd16 (diff)
downloadabslibre-7c466735fb86bba16c9366629fe160ae2fd5c25d.tar.gz
abslibre-7c466735fb86bba16c9366629fe160ae2fd5c25d.tar.bz2
abslibre-7c466735fb86bba16c9366629fe160ae2fd5c25d.zip
cross-binutils: add pkgbuild to ~coadde repo, due this for testing
Diffstat (limited to '~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install')
-rw-r--r--~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install
new file mode 100644
index 000000000..21b4a2af2
--- /dev/null
+++ b/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=mips64el-unknown-linux-gnu-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}