diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
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" +} |