24 lines
982 B
Bash
24 lines
982 B
Bash
# Template file for 'genius'
|
|
pkgname=genius
|
|
version=1.0.25
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-update-mimedb ac_cv_file__proc_self_maps=yes
|
|
GTK_UPDATE_ICON_CACHE=gtk-update-icon-cache"
|
|
hostmakedepends="intltool pkg-config glib-devel automake libtool bison flex"
|
|
makedepends="gtksourceview4-devel mpfr-devel readline-devel ncurses-devel
|
|
gtk+3-devel amtk-devel libglib-devel vte3-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Advanced calculator including a mathematical programming language"
|
|
maintainer="Samadi van Koten <samadi@vktec.co.uk>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.jirka.org/genius.html"
|
|
distfiles="http://ftp.5z.com/pub/genius/genius-${version}.tar.xz"
|
|
checksum=0e92c9a22f903012ef331c20ada5b30b6c666c0f11753958b8e38d720deb6e0c
|
|
nocross="run the binaries"
|
|
|
|
post_patch() {
|
|
vsed -i -e '/PKG_CHECK_MODULES/s/ncurses/ncursesw/' configure.ac
|
|
autoreconf -fi
|
|
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure
|
|
}
|