Add minetest monitoring mod

This commit is contained in:
Alex D. 2021-04-03 17:05:08 +00:00
parent 15689d019e
commit 4df85750b6
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_mod=monitoring
pkgname="minetest-$_mod"
pkgver=1.04
pkgrel=0
pkgdesc="Monitoring mod for minetest server owners"
url="https://github.com/minetest-monitoring/monitoring"
arch="noarch"
license="MIT"
depends="minetest-common"
source="
$pkgname-$pkgver.tar.gz::https://github.com/minetest-monitoring/monitoring/archive/refs/tags/$pkgver.tar.gz
"
options="!check"
builddir="$srcdir"
package() {
mkdir -p "$pkgdir/usr/share/minetest/mods"
mv "$_mod-$pkgver" "$pkgdir/usr/share/minetest/mods/$_mod"
}
sha512sums="14727670ec92ac0d74e6b772f3aa627df4ccf36be749e6b3926dcbcab837bd3b6d6fc05a9a5a7b71700f1a8f6252089674c8cd09c135c0ef9b86bfac64f0e93d minetest-monitoring-1.04.tar.gz"