summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e149659f13f4b7d8fe7979cb58f8f754bbff21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer:  TDY <tdy@archlinux.info>
# Contributor: Bernhard Walle <bernhard.walle@gmx.de>

pkgname=wcalc
pkgver=2.5
pkgrel=4
pkgdesc="A flexible command-line scientific calculator"
arch=('i686' 'x86_64')
url="http://w-calc.sourceforge.net/"
license=('GPL')
depends=('mpfr>=4.0.0' 'readline>=8.0.0')
source=(http://downloads.sourceforge.net/w-calc/$pkgname-$pkgver.tar.bz2)
sha256sums=('0e2c17c20f935328dcdc6cb4c06250a6732f9ee78adf7a55c01133960d6d28ee')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: