summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshellkr2016-03-08 22:07:42 +0100
committershellkr2016-03-08 22:07:42 +0100
commita21c0531d963dea1c7b4fac50da2a7b901da7e7a (patch)
tree67da06c4519cadc044f589c83ac47a8b4b500e5b
downloadaur-a21c0531d963dea1c7b4fac50da2a7b901da7e7a.tar.gz
initial push
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD28
-rw-r--r--minetest-mod-mobs_sky-git.install26
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..45980bbb3aa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Tue Mar 8 21:07:30 UTC 2016
+pkgbase = minetest-mod-mobs_sky-git
+ pkgdesc = A few sky critters ported from other mob-frameworks to Mobs-Redo
+ pkgver = 7.ea462ec
+ pkgrel = 1
+ url = https://github.com/blert2112/mobs_sky
+ install = minetest-mod-mobs_sky-git.install
+ arch = any
+ license = custom
+ makedepends = git
+ depends = minetest
+ provides = minetest-mod-mobs_sky
+ source = minetest-mod-mobs_sky::git+https://github.com/blert2112/mobs_sky.git
+ md5sums = SKIP
+
+pkgname = minetest-mod-mobs_sky-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d28dbde38a4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: shellkr <revoltism+AUR$gmail.com>
+
+pkgname=minetest-mod-mobs_sky-git
+_gitname=${pkgname%-git*}
+pkgver=7.ea462ec
+pkgrel=1
+pkgdesc='A few sky critters ported from other mob-frameworks to Mobs-Redo'
+arch=('any')
+url="https://github.com/blert2112/mobs_sky"
+license=('custom')
+depends=('minetest')
+makedepends=('git')
+provides=("$_gitname")
+install=$pkgname.install
+source=("$_gitname::git+https://github.com/blert2112/mobs_sky.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ mkdir -p "$pkgdir/usr/share/minetest/mods/${_gitname#*mod-}"
+ cp -r * "$pkgdir/usr/share/minetest/mods/${_gitname#*mod-}"
+}
+
diff --git a/minetest-mod-mobs_sky-git.install b/minetest-mod-mobs_sky-git.install
new file mode 100644
index 00000000000..aaff084fb62
--- /dev/null
+++ b/minetest-mod-mobs_sky-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/mobs_sky ~/.minetest/mods'
+ echo ' sudo chown -R <your user>:<your group> ~/.minetest/mods/mobs_sky'
+ 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/mobs_sky ~/.minetest/mods'
+ echo ' sudo chown -R <your user>:<your group> ~/.minetest/mods/mobs_sky'
+ echo
+ echo
+}