37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'qalculate'
|
|
# NOTE: keep this package synchronized with "srcpkgs/qalculate-gtk"
|
|
pkgname=qalculate
|
|
version=3.16.1
|
|
revision=1
|
|
wrksrc="lib${pkgname}-${version}"
|
|
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"
|
|
maintainer="Artem Zhurikhin <ashpool@xecut.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://qalculate.github.io"
|
|
distfiles="https://github.com/Qalculate/libqalculate/releases/download/v${version}/libqalculate-${version}.tar.gz"
|
|
checksum=bbe837073bf0d1995fe7ead4aae2b2e24260351048f6a513a9ca210342ce8e59
|
|
|
|
libqalculate_package() {
|
|
short_desc+=" - library files"
|
|
replaces="libqalculate-data>=0"
|
|
pkg_install() {
|
|
vmove usr/lib/libqalculate.so.*
|
|
vmove usr/share/qalculate
|
|
}
|
|
}
|
|
libqalculate-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libqalculate>=${version}_${revision} libxml2-devel cln-devel gmp-devel mpfr-devel"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/doc
|
|
}
|
|
}
|