38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
#!/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.5.1
|
|
pkgrel=01
|
|
pkgdesc='Multi-purpose desktop calculator'
|
|
arch=(x86_64)
|
|
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
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL)
|
|
|
|
sha256sums=(230c28f067c02a486252d6ea9a206ffc2b6803ae0430696f9e56611bece20585) # libqalculate-4.5.1.tar.gz
|
|
|
|
## 0bed114ac1d54fcf23329e90895bab66ed1857384d4407cb10f53768de65c8c9 libqalculate-4.5.1-01-x86_64.pkg.tar.xz
|
|
|