summaryrefslogtreecommitdiff
path: root/extra/libqalculate/PKGBUILD
blob: b9ffa1c216223390e8bb64b9df820483230da421 (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
27
28
# $Id: PKGBUILD 108627 2011-02-02 01:51:53Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=libqalculate
pkgver=0.9.7
pkgrel=2
pkgdesc="Multi-purpose desktop calculator"
arch=('i686' 'x86_64')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'cln' 'glib2' 'ncurses' 'readline')
makedepends=('perlxml')
optdepends=('gnuplot: for plotting support' 'wget: for retrieval of exchange rates (not needed if you use one of the GUI)' 'gnome-vfs: for retrieval of exchange rates (not needed if you use one of the GUI)')
options=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz)
md5sums=('a1507ab862f4ad9852788619aada35cd')
sha1sums=('c15f7f3a97995decf62cc964956fc1e374ecd78c')

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

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