blob: a6d819e2c4445f357ad9faebb36446b1fa5d3ded (
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
47
48
49
50
51
52
53
54
|
# 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=19
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.30.9'
)
_pinned_dependencies_i686=(
'gcc-libs=14.2.1+r134+gab884fffe3fc'
)
_pinned_dependencies_pentium4=(
'gcc-libs=14.2.1+r134+gab884fffe3fc'
)
depends=('ffmpeg' 'sdl2' 'sdl2_mixer' "${_pinned_dependencies[@]}")
depends_i686=("${_pinned_dependencies_i686[@]}")
depends_pentium4=("${_pinned_dependencies_pentium4[@]}")
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"
}
|