blob: c42ab3b3452909dc1a0a64917832b954005cd632 (
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# Maintainer: Your Name <youremail@domain.com>
pkgname=inform7-ide
pkgver=2.0.0
_informpkgver=10.1.2
_inwebpkgver=7.2.0
_intestpkgver=2.1.0
pkgrel=1
pkgdesc="a ide for the inform language/compiler"
arch=('x86_64')
url="https://github.com/ptomato/inform7-ide"
license=('GPL-3.0-or-later')
depends=('libcanberra' 'python-virtualenv' 'libxml2' 'libgl' 'glibc' 'goocanvas2' 'webkit2gtk' 'gtksourceview4' 'gspell' 'libplist' 'desktop-file-utils' 'gstreamer' 'gst-plugins-bad' 'gst-plugins-good' 'gtk3' 'libratify-git' 'libchimara-git' 'rsync' 'vala' 'clang')
makedepends=('meson' 'ninja')
provides=('inform7-ide')
conflicts=('inform7-ide')
options=(!buildflags !makeflags)
source=("inform7-ide-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz" "inform-${_informpkgver}.tar.gz::https://github.com/ganelson/inform/archive/refs/tags/v${_informpkgver}.tar.gz" "inweb-${_inwebpkgver}.tar.gz::https://github.com/ganelson/inweb/archive/refs/tags/v${_inwebpkgver}.tar.gz" "intest-${_intestpkgver}.tar.gz::https://github.com/ganelson/intest/archive/refs/tags/v${_intestpkgver}.tar.gz")
sha256sums=('67cb1f571c8c811e8b45371886960392802ea6e8a34e6602867f5ee133e15457' '145cae27638c2dde4979f37b67d60de3243f6ee6456b808426fb9dcbda850dd0' '0fa772ed3b2e7c7242be6dbfad319bc213f49881eba56549248f90ea1a47fbcf' '3a5c86005212b3aa68064e133abed54529a83c7c6963a845afadbcc7db1d647e')
prepare() {
cd ${srcdir}
if [[ -d inform7-ide ]]
then
rm -r "inform7-ide"
else
mv "inform7-ide-${pkgver}" "inform7-ide"
fi
if [[ -d inform ]]
then
rm -r "inform"
else
mv "inform-${_informpkgver}" "inform"
fi
if [[ -d inweb ]]
then
rm -r "inweb"
else
mv "inweb-${_inwebpkgver}" "inweb"
fi
if [[ -d intest ]]
then
rm -r "intest"
else
mv "intest-${_intestpkgver}" "intest"
fi
}
export CC=clang
build() {
install -D "${srcdir}/inform7-ide/build-aux/make-integration-settings.mk" "${srcdir}/make-integration-settings.mk"
#setting up inweb build enviroment
install -D "inweb/Materials/platforms/linux.mk" "inweb/platform-settings.mk"
install -D "inweb/Materials/platforms/inweb-on-linux.mk" "inweb/inweb.mk"
make -f "inweb/inweb.mk" "initial"
#setting up intest build enviroment
inweb/Tangled/inweb intest -prototype "intest/scripts/intest.mkscript" -makefile "intest/intest.mk"
make -f "intest/intest.mk" "force"
#setting up inform build enviroment and installing retrospective and tools for inform7-ide build
cd "inform"
../inweb/Tangled/inweb -prototype "scripts/inform.mkscript" -makefile "makefile"
make "makers"
make "forcetools"
make "forcekits"
make "forceextensions"
make "localintegration"
make -f "inform6/inform6.mk" "interpreters"
make "forcetransfertools"
make "forcetransferpreform"
make "forcetransferindext"
make "forcetransferkits"
make "forcetransferextensions"
make "forcetransferlanguages"
make "forcetransferimages"
make "forcetransferotherinternals"
make "forcetransferdocumentation"
make "forcetransferoutcomepages"
make "forcetransfertemplates"
make "retrospective"
cp -r "retrospective" -t "${srcdir}/inform7-ide"
#building inform7-ide
cd "${srcdir}/inform7-ide/"
arch-meson build
ninja -C build
}
check() {
cd "inform"
"../intest/Tangled/intest" inform7 -show Acidity
}
package() {
# packaging inform7-ide
cd "${srcdir}/inform7-ide/"
meson install -C build --destdir "$pkgdir"
}
|