libqalculate: update to 4.1.

previously 'qalculate', rearranged subpackages in a way which makes more sense.
This commit is contained in:
tibequadorian 2022-03-16 23:34:55 +01:00 committed by Andrew J. Hesford
parent 465e83587a
commit 72dc6cfda9
4 changed files with 15 additions and 16 deletions

View file

@ -1 +0,0 @@
qalculate

View file

@ -1 +1 @@
qalculate
libqalculate

View file

@ -1,29 +1,28 @@
# Template file for 'qalculate'
# NOTE: keep this package synchronized with "srcpkgs/qalculate-gtk"
# and "srcpkgs/qalculate-qt"
pkgname=qalculate
version=3.20.1
revision=3
wrksrc="lib${pkgname}-${version}"
# Template file for 'libqalculate'
# NOTE: keep this package synchronized with 'qalculate-gtk' and 'qalculate-qt'
pkgname=libqalculate
version=4.1.0
revision=1
build_style=gnu-configure
hostmakedepends="intltool pkg-config doxygen"
makedepends="libxml2-devel cln-devel readline-devel libcurl-devel icu-devel
mpfr-devel"
short_desc="Multi-purpose desktop calculator"
short_desc="Multi-purpose desktop calculator library"
maintainer="Artem Zhurikhin <ashpool@xecut.net>"
license="GPL-2.0-or-later"
homepage="https://qalculate.github.io"
changelog="https://qalculate.github.io/news.html"
distfiles="https://github.com/Qalculate/libqalculate/releases/download/v${version}/libqalculate-${version}.tar.gz"
checksum=cee57c21fd5e20862734d7712907824ef7c689efc7d54c237e3766b6c83c7ee7
checksum=d943e5285bdc0b3cd77b8f7a10391d7c753fc19b0ddd48e5d4179decf709d6ff
libqalculate_package() {
short_desc+=" - library files"
replaces="libqalculate-data>=0"
qalculate_package() {
short_desc="Multi-purpose desktop calculator - CLI version"
pkg_install() {
vmove usr/lib/libqalculate.so.*
vmove usr/share/qalculate
vmove usr/bin/qalc
vmove usr/share/man/man1/qalc.1
}
}
libqalculate-devel_package() {
short_desc+=" - development files"
depends="libqalculate>=${version}_${revision} libxml2-devel cln-devel gmp-devel mpfr-devel"

1
srcpkgs/qalculate Symbolic link
View file

@ -0,0 +1 @@
libqalculate