blob: 2d80a2d10aa52130dacb86a064b4fd9854e0f35f (
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
|
# Maintainer: Ivy Foster <code@iff.ink>
pkgbase=frotz-git
pkgname=(frotz-dumb-git frotz-sdl-git)
pkgver=2.54.r164.g8c08ae2
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')
sha256sums=(SKIP)
options=(!debug)
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'
depends=('glibc')
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' '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=('freetype2' 'libjpeg-turbo' 'sdl2_mixer')
cd frotz
make DESTDIR="$pkgdir" PREFIX=/usr install_sdl
}
|