diff options
author | shellkr | 2016-01-21 02:51:12 +0100 |
---|---|---|
committer | shellkr | 2016-01-21 02:51:12 +0100 |
commit | f626ef6eaa36f8fb454526a1aa3d858530d14418 (patch) | |
tree | e21026d6212bc4e94e72da5d434ffcaad2d27e77 | |
parent | 505007dc914977766d04d386a3a9fd16ae05076a (diff) | |
download | aur-f626ef6eaa36f8fb454526a1aa3d858530d14418.tar.gz |
Added an install file for additional intructions
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | minetest-mod-weather-git.install | 26 |
2 files changed, 27 insertions, 0 deletions
@@ -11,6 +11,7 @@ license=('custom') depends=('minetest') makedepends=('git') provides=('minetest-mod-weather') +install=('minetest-mod-weather-git.install) source=("$_gitname::git://github.com/Jeija/minetest-mod-weather.git") md5sums=('SKIP') diff --git a/minetest-mod-weather-git.install b/minetest-mod-weather-git.install new file mode 100644 index 000000000000..9f3ef7b848a2 --- /dev/null +++ b/minetest-mod-weather-git.install @@ -0,0 +1,26 @@ + +post_install() { + echo + echo '############################### NOTICE ! ###################################' + echo + echo ' You have to move the mod to your $HOME/.minetest/mods if it doesnt' + echo ' recognize the default install dir' + echo + echo ' sudo mv /usr/share/minetest/mods/minetest-mod-weather ~/.minetest/mods' + echo ' sudo chown <your user>:<your group> ~/.minetest/mods/minetest-mod-weather' + echo + echo +} + +post_upgrade() { + echo + echo '############################### NOTICE ! ###################################' + echo + echo ' You have to move the mod to your $HOME/.minetest/mods if it doesnt' + echo ' recognize the default install dir' + echo + echo ' sudo mv /usr/share/minetest/mods/minetest-mod-weather ~/.minetest/mods' + echo ' sudo chown <your user>:<your group> ~/.minetest/mods/minetest-mod-weather' + echo + echo +} |