# Template file for 'apl'
pkgname=apl
version=1.8
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fftw-devel gtk+3-devel libxcb-devel ncurses-devel pcre2-devel
 sqlite-devel"
short_desc="GNU interpreter for APL (A Programming Language)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/apl"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb
nocross="execs target binary: ./Gtk_server --ev1 > Gtk_events1.asciidoc"
CXXFLAGS="-Wno-format-truncation -Wno-class-memaccess -Wno-maybe-uninitialized -Wno-restrict -Wno-cpp"

post_install() {
	vdoc support-files/Dyalog-Keyboard/apl.xkb
	vdoc support-files/Dyalog-Keyboard/apl.xmodmap
}
