blob: 654ff4bb372161ab17a8378f867b7d1608c1410c (
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
|
# Maintainer: libele <libele@disroot.org>
pkgname=inform7-git
_pkgname=inform7
_gitpkg=inform
pkgver=10.2.0_beta+6W49
pkgrel=1
pkgdesc="A design system for interactive fiction based on natural language (git version)"
arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i486' 'i686' 'pentium4' 'x86_64')
url="https://ganelson.github.io/inform"
license=('Artistic2.0')
makedepends=('clang' 'git' 'rsync')
provides=('inform' 'inform7')
conflicts=('inform7')
groups=(inform)
options=(!buildflags !makeflags)
source=('git+https://github.com/ganelson/inform'
'git+https://github.com/ganelson/inweb'
'git+https://github.com/ganelson/intest'
'make-integration-settings.mk'
'wrapper.sh')
md5sums=('SKIP'
'SKIP'
'SKIP'
'085007a124028daedf369c0fa0549b2a'
'07fb211a928d44d3cf221f3760911957')
pkgver() {
cd "$_gitpkg"
head -n 3 < README.md | tail -n 1 | cut -d ' ' -f 2 | sed 's/-/_/g'
}
build() {
cd "$srcdir"
export CC=clang
bash inweb/scripts/first.sh linux
bash intest/scripts/first.sh
cd "$_gitpkg"
bash scripts/first.sh
../intest/Tangled/intest inform7 -show Acidity
make
make retrospective
}
check() {
cd "$_gitpkg"
make check
}
package() {
cd "$_gitpkg"
make forceintegration
cd "$srcdir"
cp -a dist/* "$pkgdir"
install -Dm755 wrapper.sh "$pkgdir/usr/bin/inform7"
cd "$srcdir/inform/retrospective/6L02"
install -Dm755 cBlorb "$pkgdir/usr/lib/$_pkgname/retrospective/6L02/cBlorb"
install -Dm755 ni "$pkgdir/usr/lib/$_pkgname/retrospective/6L02/ni"
cp -ar Extensions "$pkgdir/usr/lib/$_pkgname/retrospective/6L02/Extensions"
cd ../6L38
install -Dm755 cBlorb "$pkgdir/usr/lib/$_pkgname/retrospective/6L38/cBlorb"
install -Dm755 ni "$pkgdir/usr/lib/$_pkgname/retrospective/6L38/ni"
cp -ar Internal "$pkgdir/usr/lib/$_pkgname/retrospective/6L38/Internal"
cd ../6M62
install -Dm755 cBlorb "$pkgdir/usr/lib/$_pkgname/retrospective/6M62/cBlorb"
install -Dm755 ni "$pkgdir/usr/lib/$_pkgname/retrospective/6M62/ni"
cp -ar Internal "$pkgdir/usr/lib/$_pkgname/retrospective/6M62/Internal"
}
|