blob: 6d9cabbc8bfdc07ff97bdb6c8951a577b03f1d84 (
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
|
# maintainer: libele <libele@disroot.org>
pkgname=inform7-git
_gitpkg=inform
pkgver=r1393.16ed0ae71
pkgrel=3
pkgdesc="A design system for interactive fiction based on natural language (git version)"
arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i686' 'pentium4' 'x86_64')
url="https://ganelson.github.io/inform"
license=('Artistic2.0')
provides=('inform' 'inform7')
conflicts=('inform7')
groups=(inform)
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'
'97f4a478c9055ef8adc0717b6c23b1af'
'cf9ed2c63688be27bc2ad132d9c9d82b')
pkgver() {
cd "${_gitpkg}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}"
bash inweb/scripts/first.sh linux
bash intest/scripts/first.sh
cd "${_gitpkg}"
bash scripts/first.sh
../intest/Tangled/intest inform7 -show Acidity
make check
}
package() {
cd "${_gitpkg}"
make forceintegration
cd "${srcdir}"
cp -a dist/* "${pkgdir}"
# moving i6/7 binaries here for now
mv "${pkgdir}"/usr/bin/inform[67] "${pkgdir}/usr/share/inform7"
install -Dm755 wrapper.sh "${pkgdir}/usr/bin/inform7"
}
|