summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshellkr2016-06-15 22:09:47 +0200
committershellkr2016-06-15 22:09:47 +0200
commit4f187b53bf7753e444d6fb6aaca03c40a36209bb (patch)
tree4f9e807e77cb03fa6d78f492c61766db96a1022c
parent0d4cdd88cbeaae2a5927cde989a0f63701757b63 (diff)
downloadaur-4f187b53bf7753e444d6fb6aaca03c40a36209bb.tar.gz
Removed the Minetest dependency as it would be unnecessary if you only want a server
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
l---------[-rw-r--r--]minetest-mod-travelnet-git.install27
3 files changed, 5 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13d625199a09..03b88c704c0b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Feb 20 19:13:25 UTC 2016
+# Wed Jun 15 20:09:47 UTC 2016
pkgbase = minetest-mod-travelnet-git
pkgdesc = Network of teleporter-boxes that allow easy travelling to other boxes on the same network (Mod for Minetest)
pkgver = 41.4779487
@@ -9,7 +9,7 @@ pkgbase = minetest-mod-travelnet-git
arch = any
license = custom
makedepends = git
- depends = minetest
+ optdepends = minetest-usrdir_patch
provides = minetest-mod-travelnet
source = minetest-mod-travelnet::git+https://github.com/Sokomine/travelnet.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index d65ef4d7198e..131493f54c46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,8 @@ pkgdesc='Network of teleporter-boxes that allow easy travelling to other boxes o
arch=('any')
url="https://github.com/Sokomine/travelnet"
license=('custom')
-depends=('minetest')
+depends=()
+optdepends=('minetest-usrdir_patch')
makedepends=('git')
provides=("$_gitname")
install=$pkgname.install
diff --git a/minetest-mod-travelnet-git.install b/minetest-mod-travelnet-git.install
index 45b2babd48b5..1d51cfec20c4 100644..120000
--- a/minetest-mod-travelnet-git.install
+++ b/minetest-mod-travelnet-git.install
@@ -1,26 +1 @@
-
-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/travelnet ~/.minetest/mods'
- echo ' sudo chown -R <your user>:<your group> ~/.minetest/mods/travelnet'
- 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/travelnet ~/.minetest/mods'
- echo ' sudo chown -R <your user>:<your group> ~/.minetest/mods/travelnet'
- echo
- echo
-}
+/home/shellkr/Build/AUR/minetest-mod-template/minetest-mod-template-git.install \ No newline at end of file