#!/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=qalculate-gtk
pkgver=4.6.0
pkgrel=01
pkgdesc='GTK frontend for libqalculate'
url='https://qalculate.github.io/'
depends=(libqalculate gtk3)
makedepends=(intltool python)
source=(https://github.com/Qalculate/qalculate-gtk/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)

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

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

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

arch=(x86_64)

license=(GPL)

sha256sums=(bbbd7fae6a6d367bbb692fbdf9bf7235828408b044284b2f0542d42a7d65e877) # qalculate-gtk-4.6.0.tar.gz

##  fc01f07e93504dd083cfcaf736b71d7a825b04485a05497b7cdba36ee21e422f  qalculate-gtk-4.6.0-01-x86_64.pkg.tar.lz


