diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/codeblocks/codeblocks.install | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/codeblocks/codeblocks.install')
-rw-r--r-- | community/codeblocks/codeblocks.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/codeblocks/codeblocks.install b/community/codeblocks/codeblocks.install new file mode 100644 index 000000000..04d31f75b --- /dev/null +++ b/community/codeblocks/codeblocks.install @@ -0,0 +1,26 @@ +pkgname=codeblocks + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime + update-desktop-database -q + ln -s /usr/lib/libwxflatnotebook.so /usr/lib/libwxflatnotebook.so.0 + ln -s /usr/lib/libwxchartctrl.so /usr/lib/libwxchartctrl.so.0 + ln -s /usr/lib/libwxcustombutton.so /usr/lib/libwxcustombutton.so.0 + } + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 + rm /usr/lib/libwxflatnotebook.so.0 \ + /usr/lib/libwxchartctrl.so.0 /usr/lib/libwxcustombutton.so.0 +} + +pre_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime + update-desktop-database -q +} |