blob: 539fef9c3a067aeb165b218224785528c0e1566c (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# Maintainer: Ivy Foster <code@iff.ink>
pkgbase=frotz-git
pkgname=(frotz-dumb-git frotz-ncurses-git frotz-sdl-git)
pkgver=2.50.r2.g295b6aa
pkgrel=1
pkgdesc='Z-machine interpreter for interactive fiction games'
makedepends=(
git
libao
libmodplug
libsamplerate
libsndfile
libvorbis
ncurses
freetype2
libjpeg-turbo
libpng
sdl2
sdl2_mixer
zlib
)
arch=(x86_64)
url='https://gitlab.com/DavidGriffith/frotz'
license=(GPL)
source=('git+https://gitlab.com/DavidGriffith/frotz.git')
md5sums=(SKIP)
pkgver() {
cd frotz
git describe | sed 's@-\(.*\)-@.r\1.@'
}
build() {
cd frotz
make PREFIX=/usr dumb ncurses sdl
}
package_frotz-dumb-git() {
pkgdesc='Z-machine interpreter for interactive fiction games, for dumb terminals or scripting'
provides=(dfrotz frotz-dumb)
conflicts=(frotz-dumb)
cd frotz
make DESTDIR="$pkgdir" PREFIX=/usr install_dumb
}
package_frotz-ncurses-git() {
pkgdesc='ncurses-based Z-machine interpreter for interactive fiction games'
provides=(frotz frotz-ncurses)
conflicts=(frotz-ncurses)
depends=(
libao
libmodplug
libsamplerate
libsndfile
libvorbis
ncurses
)
cd frotz
make DESTDIR="$pkgdir" PREFIX=/usr install_frotz
}
package_frotz-sdl-git() {
pkgdesc='Graphical Z-machine interpreter for interactive fiction games'
provides=(sfrotz frotz-sdl)
conflicts=(frotz-sdl)
depends=(
libao
libmodplug
libsamplerate
libsndfile
libvorbis
freetype2
libjpeg-turbo
libpng
sdl2
sdl2_mixer
zlib
)
cd frotz
make DESTDIR="$pkgdir" PREFIX=/usr install_sdl
}
|