diff options
author | libele | 2022-05-02 22:43:12 -0500 |
---|---|---|
committer | libele | 2022-05-02 22:43:12 -0500 |
commit | 554f9d90c4d813c1b650915e5a048758a65f0ed4 (patch) | |
tree | 01ee405502a1c3a34e542a743abdb3b2943ad064 | |
download | aur-554f9d90c4d813c1b650915e5a048758a65f0ed4.tar.gz |
subject to change
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 48 | ||||
-rw-r--r-- | make-integration-settings.mk | 13 |
3 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7989f6fae05d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = inform7-git + pkgdesc = A design system for interactive fiction based on natural language (git version) + pkgver = r1390.31c156b2b + pkgrel = 1 + url = https://ganelson.github.io/inform + arch = aarch64 + arch = arm + arch = armv6h + arch = armv7h + arch = i686 + arch = pentium4 + arch = x86_64 + groups = inform + license = Artistic2.0 + provides = inform + provides = inform7 + conflicts = inform7 + source = git+https://github.com/ganelson/inform + source = git+https://github.com/ganelson/inweb + source = git+https://github.com/ganelson/intest + source = make-integration-settings.mk + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = 97f4a478c9055ef8adc0717b6c23b1af + +pkgname = inform7-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b03d130c7eac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# maintainer: libele <libele@disroot.org> + +pkgname=inform7-git +_gitpkg=inform +pkgver=r1390.31c156b2b +pkgrel=1 +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') + +md5sums=('SKIP' + 'SKIP' + 'SKIP' + '97f4a478c9055ef8adc0717b6c23b1af') + +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" +} diff --git a/make-integration-settings.mk b/make-integration-settings.mk new file mode 100644 index 000000000000..eecb02012751 --- /dev/null +++ b/make-integration-settings.mk @@ -0,0 +1,13 @@ +INTEGRATION=1 + +BUILTINCOMPS=../dist/usr/bin +INTERNAL=../dist/usr/share/inform7 + +INBLORBNAME=inblorb +INFORM6NAME=inform6 +INFORM7NAME=inform7 +INTESTNAME=intest + +BUILTINHTML=$(INTERNAL)/Documentation/ +BUILTINHTMLINNER=$(BUILTINHTML) +INDOCOPTS=-to $(BUILTINHTML) website |