core/libqalculate/PKGBUILD

25 lines
682 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=libqalculate
2018-01-19 07:35:30 +08:00
pkgver=2.2.1
2016-06-20 20:51:45 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="Multi-purpose desktop calculator"
2012-11-20 18:11:29 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://qalculate.sourceforge.net/"
license=('GPL')
2017-10-23 06:10:01 +08:00
depends=('libxml2' 'curl' 'mpfr' 'icu')
makedepends=('intltool')
2016-06-20 20:51:45 +08:00
optdepends=('gnuplot: for plotting support'
'wget: for retrieval of exchange rates (not needed if you use one of the GUI)')
2017-01-03 09:27:44 +08:00
source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
2018-01-19 07:35:30 +08:00
sha1sums=('99ca5535c77c0e74533ab8c2c0bb4dfaa4f64f73')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2011-08-14 07:24:53 +08:00
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}