qalculate: update to 3.14.0, drop noarch.

This commit is contained in:
Ashpool 2020-10-25 15:04:20 +03:00 committed by Andrew J. Hesford
parent f623e9ceff
commit 3436fd3d52
2 changed files with 4 additions and 11 deletions

View file

@ -1 +0,0 @@
qalculate

View file

@ -1,7 +1,7 @@
# Template file for 'qalculate'
# NOTE: keep this package synchronized with "srcpkgs/qalculate-gtk"
pkgname=qalculate
version=3.12.1
version=3.14.0
revision=1
wrksrc="lib${pkgname}-${version}"
build_style=gnu-configure
@ -13,20 +13,14 @@ 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=28c46dc8dd975f253627d80c55a6feab7c44d965dce3ceffefc3cafc9a97c457
checksum=ef422aa54eac7c711ece65dd3a5cbc66370d3e17173465313201897c201e7d3e
libqalculate-data_package() {
archs=noarch
short_desc+=" - data files"
pkg_install() {
vmove usr/share/qalculate
}
}
libqalculate_package() {
short_desc+=" - library files"
depends="libqalculate-data>=${version}_${revision}"
replaces="libqalculate-data>=0"
pkg_install() {
vmove usr/lib/libqalculate.so.*
vmove usr/share/qalculate
}
}
libqalculate-devel_package() {