jobextra/libqalculate/PKGBUILD-arch

35 lines
792 B
Text

# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=libqalculate
pkgver=4.9.0
pkgrel=2
pkgdesc='Multi-purpose desktop calculator'
arch=(x86_64)
url='https://qalculate.github.io/'
license=(GPL)
depends=(curl
icu
gcc-libs
glibc
gmp
libxml2
mpfr
readline)
makedepends=(doxygen
intltool)
optdepends=('gnuplot: for plotting support')
source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('6130ed28f7fb8688bccede4f3749b7f75e4a000b8080840794969d21d1c1bf0f')
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}