summaryrefslogtreecommitdiff
path: root/extra/libqalculate/PKGBUILD
blob: 641c5f4af21507c6ab55a236114c70d6719b5dd7 (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
# $Id: PKGBUILD 149451 2012-02-08 01:06:52Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=libqalculate
pkgver=0.9.7
pkgrel=3.1
pkgdesc="Multi-purpose desktop calculator"
arch=('i686' 'x86_64' 'mips64el')
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=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz)
sha1sums=('c15f7f3a97995decf62cc964956fc1e374ecd78c')

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

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