summaryrefslogtreecommitdiff
path: root/extra/libqalculate/PKGBUILD
blob: a888f1923718dc35d4a98aab9f3b9765ec484ae2 (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
29
# $Id: PKGBUILD 197265 2013-10-24 20:11:40Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=libqalculate
pkgver=0.9.7
pkgrel=4
pkgdesc="Multi-purpose desktop calculator"
arch=('i686' 'x86_64')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'cln' 'glib2')
makedepends=('perl-xml-parser')
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=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz)
sha1sums=('c15f7f3a97995decf62cc964956fc1e374ecd78c')

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

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