#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=libqalculate
pkgver=4.6.0
pkgrel=01
pkgdesc='Multi-purpose desktop calculator'
url='https://qalculate.github.io/'
#options=(debug)  ### uncomment this for the debug pkg to be produced
depends=(libxml2 curl mpfr)
makedepends=(intltool doxygen)
optdepends=('gnuplot: for plotting support')
source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

#---- arch license gpg-key & sha256sums ----

arch=(x86_64)

license=(GPL)

sha256sums=(07b11dba19a80e8c5413a6bb25c81fb30cc0935b54fa0c9090c4ff8661985e08) # libqalculate-4.6.0.tar.gz

##  ff1efcac7746c8805947cd881ca8ca96093e711601336176000713c69fe6edf4  libqalculate-4.6.0-01-x86_64.pkg.tar.lz

