core/libqalculate/PKGBUILD
2017-10-23 00:10:01 +02:00

26 lines
705 B
Bash

pkgname=libqalculate
pkgver=2.1.0
pkgrel=1
pkgdesc="Multi-purpose desktop calculator"
arch=('x86_64')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'curl' 'mpfr' 'icu')
makedepends=('intltool')
optdepends=('gnuplot: for plotting support'
'wget: for retrieval of exchange rates (not needed if you use one of the GUI)')
options=('!makeflags')
source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha1sums=('9f5c69542d0d0405521e9476ea06e96b7fd6ab12')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}