summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshellkr2016-01-21 02:51:12 +0100
committershellkr2016-01-21 02:51:12 +0100
commitf626ef6eaa36f8fb454526a1aa3d858530d14418 (patch)
treee21026d6212bc4e94e72da5d434ffcaad2d27e77
parent505007dc914977766d04d386a3a9fd16ae05076a (diff)
downloadaur-f626ef6eaa36f8fb454526a1aa3d858530d14418.tar.gz
Added an install file for additional intructions
-rw-r--r--PKGBUILD1
-rw-r--r--minetest-mod-weather-git.install26
2 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8f89ba953fa0..6e66320bc7a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}