summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Benko2018-12-18 18:14:10 +0100
committerThomas Benko2018-12-18 18:14:10 +0100
commitc0e458319a4f719ae562cbe7cfc49d90748f9112 (patch)
tree78eef96013d2b4d8dbaed34f5568b6532fa63de6
downloadaur-minetest-mod-animals_sheep-git.tar.gz
Initial package
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD38
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dd95ed23ed0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = minetest-mod-animals_sheep-git
+ pkgdesc = danielmeek32's animals mod for Minetest - the sheep
+ pkgver = 5.8cda7c1
+ pkgrel = 1
+ url = https://github.com/danielmeek32/animals_sheep
+ arch = any
+ license = custom:modified zlib-license
+ makedepends = git
+ depends = minetest-mod-animals-git
+ optdepends = minetest-usrdir_patch
+ provides = minetest-mod-animals_sheep
+ source = minetest-mod-animals_sheep::git+git://github.com/danielmeek32/animals_sheep
+ md5sums = SKIP
+
+pkgname = minetest-mod-animals_sheep-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5eb922fc5b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Thomas Benko <tombenkmo@gmail.com>
+
+pkgname=minetest-mod-animals_sheep-git
+_gitname=${pkgname%-git}
+pkgver=5.8cda7c1
+pkgrel=1
+#epoch=
+pkgdesc="danielmeek32's animals mod for Minetest - the sheep"
+arch=('any')
+url="https://github.com/danielmeek32/animals_sheep"
+license=('custom:modified zlib-license')
+#groups=()
+depends=('minetest-mod-animals-git')
+makedepends=('git')
+#checkdepends=()
+optdepends=('minetest-usrdir_patch')
+provides=("$_gitname")
+#conflicts=()
+#replaces=()
+#backup=()
+#options=()
+#install=$pkgname.install
+changelog=
+source=("$_gitname::git+git://github.com/danielmeek32/animals_sheep")
+#noextract=()
+md5sums=('SKIP')
+#validpgpkeys=()
+
+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-}"
+}