updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wcalc / PKGBUILD
blob73bfb0259785f2ceae37e7ef780ce73de042af74
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Bernhard Walle <bernhard.walle@gmx.de>
4 pkgname=wcalc
5 pkgver=2.4
6 pkgrel=1
7 pkgdesc="A flexible, command-line scientific calculator"
8 arch=('i686' 'x86_64')
9 url="http://w-calc.sourceforge.net/"
10 license=('GPL')
11 depends=('mpfr')
12 makedepends=('bison' 'flex')
13 source=(http://downloads.sourceforge.net/w-calc/$pkgname-$pkgver.tar.bz2)
14 md5sums=('63d3fc422dc7237e1bafbfe8f4159988')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   ./configure --prefix=/usr
20   make || return 1
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
25   make DESTDIR="$pkgdir" install