mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 23:47:19 +08:00
27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
|
# $Id: PKGBUILD 62401 2010-01-08 06:49:21Z eric $
|
||
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
||
|
# Contributor: Patrick Leslie Polzer <polzer@gnu.org>
|
||
|
# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
|
||
|
|
||
|
pkgname=libqalculate
|
||
|
pkgver=0.9.7
|
||
|
pkgrel=1
|
||
|
pkgdesc="Multi-purpose desktop calculator"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://qalculate.sourceforge.net/"
|
||
|
license=('GPL')
|
||
|
depends=('libxml2' 'cln>=1.2.0' 'glib2' 'ncurses>=5.6-7' 'readline>=6.0.00')
|
||
|
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 || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
}
|