blob: 0088f5ce12362b0577d69684b07477bb755f2b4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: HER0_01 <aconrad103 at gmail.com>
pkgname=mesecons-git
pkgver=784.2554164
pkgrel=1
pkgdesc="Minetest mod that adds digital circuitry, similar to Minecraft's redstone."
arch=('any')
url="https://mesecons.net/"
license=('custom')
depends=('minetest')
makedepends=('git')
provides=('mesecons')
source=("$pkgname::git://github.com/minetest-mods/mesecons.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
package() {
cd "$srcdir/$pkgname"
mkdir -p "$pkgdir/usr/share/minetest/mods/$pkgname"
cp -r * "$pkgdir/usr/share/minetest/mods/$pkgname"
}
|