40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'qalculate'
|
|
pkgname=qalculate
|
|
version=0.9.10
|
|
revision=2
|
|
wrksrc="lib${pkgname}-${version}"
|
|
build_style=gnu-configure
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
hostmakedepends="intltool pkg-config"
|
|
makedepends="libxml2-devel glib-devel cln-devel readline-devel"
|
|
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=7d81e1b15bc1e674e3d4db71c4fc08dafcef830e6acd39f65034e3c0f694b3b9
|
|
|
|
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} glib-devel libxml2-devel cln-devel"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/doc
|
|
}
|
|
}
|