mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:14:37 +08:00
26 lines
705 B
Bash
26 lines
705 B
Bash
pkgname=libqalculate
|
|
pkgver=2.1.0
|
|
pkgrel=1
|
|
pkgdesc="Multi-purpose desktop calculator"
|
|
arch=('x86_64')
|
|
url="http://qalculate.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('libxml2' 'curl' 'mpfr' 'icu')
|
|
makedepends=('intltool')
|
|
optdepends=('gnuplot: for plotting support'
|
|
'wget: for retrieval of exchange rates (not needed if you use one of the GUI)')
|
|
options=('!makeflags')
|
|
source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
|
|
sha1sums=('9f5c69542d0d0405521e9476ea06e96b7fd6ab12')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|