summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 38 insertions, 0 deletions
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-}"
+}