# Contributor: Milan P. Stanić # Maintainer: Milan P. Stanić pkgname=gforth pkgver=0.7.3 pkgrel=1 pkgdesc="Fast and portable implementation of the ANS Forth language" url="http://www.gnu.org/software/gforth/" arch="all !x86" # build fail on x86 license="GPL-3.0-or-later" options="!check" # Hangs makedepends="libffi-dev libtool m4" subpackages="$pkgname-doc" source="https://ftp.gnu.org/gnu/gforth/$pkgname-$pkgver.tar.gz" prepare() { default_prepare update_config_sub } build() { CFLAGS='-std=gnu99' ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --without-check make PREFIX=/usr -j1 } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="f034234acfb0fc727f28b564432219a100b916c6df4b847794a55b2fc3b8ed8714eca6de0df67c7c427b7c2bb4dd00f65cfd34e6eb60181e41ab84fea30304e4 gforth-0.7.3.tar.gz"