blob: 516cd4f4ec8fc42c13b94a5ef478eb30e7dae709 (
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: Danil Yarantsev <tiberiumk12 at gmail dot com>
pkgname=doom2df-git
pkgver=r1198.26f953e
pkgrel=1
pkgdesc="Doom 2D Forever: A Doom 2D remake with multiplayer"
arch=(x86_64 i686)
url="http://doom2d.org/"
license=('GPL3')
depends=(sdl2_mixer sdl2 enet libgl miniupnpc)
makedepends=(git fpc)
source=(
'git://repo.or.cz/d2df-sdl.git'
'https://deadsoftware.ru/files/deaddoomer/d2df/win32-d2df-latest.zip'
'doom2df.desktop'
'doom2df.png'
)
md5sums=(
'SKIP'
'SKIP'
'a529aca738b79f2099fcef6e583fbed3'
'191cd29a6994ab257abf6c0b1060b2fd'
)
options=(
!strip
)
pkgver() {
cd "${srcdir}/d2df-sdl"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/d2df-sdl/src/game"
fpc -g -gl -dUSE_SDL2 -dUSE_OPENGL -dUSE_SDLMIXER -dUSE_MINIUPNPC -FE../../../ Doom2DF.lpr
}
package() {
cd "${srcdir}"
install -Dm755 Doom2DF "${pkgdir}"/usr/bin/Doom2DF
install -Dm644 doom2df.desktop "${pkgdir}"/usr/share/applications/doom2df.desktop
install -Dm644 doom2df.png "${pkgdir}"/usr/share/pixmaps/doom2df.png
mkdir -p "${pkgdir}"/usr/share/doom2df
cp -r data maps wads "${pkgdir}"/usr/share/doom2df/
}
|