diff options
author | shellkr | 2018-10-13 02:02:50 +0200 |
---|---|---|
committer | shellkr | 2018-10-13 02:02:50 +0200 |
commit | b3afbaca1a97f313268af0943e3c30c3766f25f2 (patch) | |
tree | 83b0431fc26dadc46c0a216dcdaf6bfac713f450 /PKGBUILD | |
download | aur-b3afbaca1a97f313268af0943e3c30c3766f25f2.tar.gz |
initial push
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..98fcd44ca2ab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: shellkr <revoltism+AUR$gmail.com> + +pkgname=minetest-mod-prehistoric_life-git +_gitname=${pkgname%-git*} +pkgver=8.3b730fe +pkgrel=1 +pkgdesc='Adds a variety of Dinosaurs. All Dinosaurs are passive as babies but carnivores become aggressive has adults if not tamed. (Mod for Minetest)' +arch=('any') +url="https://github.com/ElCeejoYT/prehistoric_life" +license=('custom') +depends=() +optdepends=('minetest-usrdir_patch') +makedepends=('git') +provides=("$_gitname") +install=$pkgname.install +source=("$_gitname::git+https://github.com/ElCeejoYT/prehistoric_life.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-}" +} + |