43 lines
911 B
Bash
43 lines
911 B
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
|
|
|
pkgname=libqalculate
|
|
pkgver=5.5.0
|
|
pkgrel=1
|
|
pkgdesc='Multi-purpose desktop calculator'
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url='https://qalculate.github.io/'
|
|
license=(GPL-2.0-only)
|
|
depends=(curl
|
|
icu
|
|
gcc-libs
|
|
glibc
|
|
gmp
|
|
libxml2
|
|
mpfr
|
|
readline)
|
|
makedepends=(doxygen
|
|
git
|
|
intltool)
|
|
optdepends=('gnuplot: for plotting support')
|
|
source=(git+https://github.com/Qalculate/libqalculate#tag=v$pkgver)
|
|
sha256sums=('9f0ca82ba2578641ffe473655f7be8367ed2cebe619b6853e5635d00ce40934b')
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|