void-packages/srcpkgs/galculator/template

34 lines
945 B
Bash

# Template file for 'galculator'
pkgname=galculator
version=2.1.4
revision=3
build_style=gnu-configure
configure_args="--enable-gtk3"
hostmakedepends="automake flex gettext-devel glib-devel intltool libtool pkg-config"
makedepends="gtk+3-devel"
short_desc="GTK+ based scientific calculator (GTK+3)"
maintainer="Aaditya Bagga <abchk1234@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://galculator.mnim.org/"
distfiles="https://github.com/galculator/galculator/archive/v${version}.tar.gz"
checksum=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
make_check=no # FIXME
CFLAGS="-fcommon"
do_configure() {
./autogen.sh ${configure_args}
}
galculator-gtk3_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}
galculator-gtk2_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}