blob: 99db8dedacdc4f3e3b6e116079b851ac2b9d02e7 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Thomas Benko <tombenkmo@gmail.com>
pkgname=minetest-mod-unifieddyes-git
_gitname=${pkgname%-git}
pkgver=76.cea39f6
pkgrel=1
#epoch=
pkgdesc="FozLand's unifieddyes mod for Minetest"
arch=('any')
url="https://github.com/FozLand/unifieddyes"
license=('GPL2')
#groups=()
depends=('bash')
makedepends=('git')
#checkdepends=()
optdepends=('minetest-usrdir_patch')
provides=("$_gitname")
#conflicts=()
#replaces=()
#backup=()
#options=()
#install=$pkgname.install
changelog=
source=("$_gitname::git+git://github.com/FozLand/unifieddyes.git")
#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-}"
}
|