mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 19:47:14 +08:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
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>=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')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|