37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'libqalculate'
|
|
# NOTE: keep this package synchronized with 'qalculate-gtk' and 'qalculate-qt'
|
|
pkgname=libqalculate
|
|
version=4.1.1
|
|
revision=2
|
|
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 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=b5611a91293be40fbe8723a81937e25ffb54e6ad6e60f282d044ed92f2d97002
|
|
|
|
qalculate_package() {
|
|
short_desc="Multi-purpose desktop calculator - CLI version"
|
|
pkg_install() {
|
|
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"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/doc
|
|
}
|
|
}
|