termux-packages/x11-packages/galculator/build.sh

15 lines
580 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/galculator/
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DESCRIPTION="GTK+ based scientific calculator"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2018-09-10 00:42:26 +02:00
TERMUX_PKG_VERSION=2.1.4
2021-12-12 05:47:08 +01:00
TERMUX_PKG_REVISION=24
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=http://galculator.mnim.org/downloads/galculator-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae
TERMUX_PKG_DEPENDS="atk, gdk-pixbuf, glib, gtk3, libandroid-shmem, libcairo, pango"
2018-09-10 00:42:26 +02:00
termux_step_pre_configure() {
CFLAGS+=" -fcommon"
export LIBS="-landroid-shmem"
2018-09-10 00:42:26 +02:00
}