blob: 11865126cea1e7ab0055ebf63a0fd92098c2057d (
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
39
40
41
42
43
44
45
46
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: <reg-archlinux AT klein DOT tuxli DOT ch>
_pkgbase=WolkenWelten
_pkgname=${_pkgbase,,}
pkgname=${_pkgname}-git
pkgver=r2022.bc445319
pkgrel=5
pkgdesc='Gamemix between Minecraft, Quake ]I[ and Emacs in C99'
arch=('i686' 'pentium4' 'x86_64' 'aarch64')
url="https://wolkenwelten.net/"
license=('GNU')
_pinned_dependencies=(
'glibc>=2.38'
'libGL.so=1'
'libvorbis.so=0'
'sdl2=2.28.5'
)
depends=('ffmpeg' 'sdl2' 'sdl2_mixer' "${_pinned_dependencies[@]}")
makedepends=('clang' 'git' 'nasm')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=(${_pkgname}::"git+https://git.sr.ht/~melchizedek6809/${_pkgbase}")
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd ${_pkgname}
git submodule update --init --recursive
}
build() {
cd ${_pkgname}
make
}
package() {
cd ${_pkgname}
install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm755 "${_pkgname}-server" "${pkgdir}/usr/bin/${_pkgname}-server"
install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
|