# Contributor: lonjil # Maintainer: lonjil pkgname=qalculate-gtk # the pkgver must be kept in sync with: libqalculate pkgver=4.7.0 pkgrel=0 pkgdesc="Multi-purpose desktop calculator - GTK+ version" url="https://qalculate.github.io/" license="GPL-2.0-or-later" arch="all" makedepends=" glib-dev gtk+3.0-dev intltool libqalculate-dev=~${pkgver%.*} " subpackages="$pkgname-doc $pkgname-lang" source="https://github.com/Qalculate/qalculate-gtk/releases/download/v$pkgver/qalculate-gtk-$pkgver.tar.gz" options="!check" # no test suite build() { export CXXFLAGS="$CXXFLAGS -flto=auto" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } package() { make DESTDIR="$pkgdir" install } sha512sums=" 35c4fda596676f5ad08761b7bd18607719ce2a4fe4722368c8b47e539202141dd2170101cf7593ade63452666a61bf5682b45cfe25749c218c25e6ea8b493cbf qalculate-gtk-4.7.0.tar.gz "