43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Template file for 'qalculate'
|
|
pkgname=qalculate
|
|
version=2.3.0
|
|
revision=1
|
|
wrksrc="lib${pkgname}-${version}"
|
|
build_style=gnu-configure
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
hostmakedepends="intltool pkg-config"
|
|
makedepends="libxml2-devel cln-devel readline-devel libcurl-devel icu-devel
|
|
gmp-devel mpfr-devel"
|
|
depends="gnuplot"
|
|
license="GPL-2"
|
|
homepage="https://qalculate.github.io/"
|
|
short_desc="A multi-purpose desktop calculator"
|
|
distfiles="https://github.com/Qalculate/libqalculate/releases/download/v${version}/libqalculate-${version}.tar.gz"
|
|
checksum=29335b91b5215dcc384396343b03b2bb99cf4e827b7084f84ac32e6a09661796
|
|
|
|
libqalculate-data_package() {
|
|
noarch=yes
|
|
short_desc+=" - data files"
|
|
pkg_install() {
|
|
vmove usr/share/qalculate
|
|
}
|
|
}
|
|
libqalculate_package() {
|
|
short_desc+=" - library files"
|
|
depends="libqalculate-data>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/libqalculate.so.*
|
|
}
|
|
}
|
|
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
|
|
}
|
|
}
|