summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/or32-unknown-elf-binutils.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 22:45:31 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 22:45:31 -0300
commit27a90a9d957b56dac972c9df0febb6262fb90dce (patch)
tree79251bdfb00539a1ddf1592d80eacd47971dcf24 /~coadde/cross-binutils/or32-unknown-elf-binutils.install
parent87b9cca463a1dbf2b5026c9dc770b5591b2d3fdc (diff)
parent8185891e28635bdb83fdf4ba4391030912dae596 (diff)
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts: libre/audacious-plugins-libre/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to '~coadde/cross-binutils/or32-unknown-elf-binutils.install')
-rw-r--r--~coadde/cross-binutils/or32-unknown-elf-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/or32-unknown-elf-binutils.install b/~coadde/cross-binutils/or32-unknown-elf-binutils.install
new file mode 100644
index 000000000..92833bd5d
--- /dev/null
+++ b/~coadde/cross-binutils/or32-unknown-elf-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=or32-unknown-elf-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}