# Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Anton Bazhenov # Contributor: Cuneyt Unlu pkgname=fityk pkgver=1.0.2 pkgrel=1 pkgdesc='A program for nonlinear fitting of analytical functions to data.' arch=('i686' 'x86_64' 'mips64el') url='http://www.unipress.waw.pl/fityk/' license=('GPL') depends=('boost-libs' 'xylib' 'wxgtk' 'shared-mime-info') makedepends=('boost' 'git' 'python-sphinx') options=('!libtool') install=${pkgname}.install source=('http://biolpc22.york.ac.uk/pub/Daily_HEAD/wxWidgets.tar.gz') # daily snapshot because fityk requires a version that hasn't been released yet... md5sums=('71a465a1d60c33c33b644d15ba23f30b') build() { cd wxWidgets ./configure --prefix=${srcdir}/usr --disable-shared --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys make make install cd ${srcdir} git clone git://github.com/wojdyr/fityk.git cd fityk git checkout v${pkgver} #cd ${pkgname}-${pkgver} # disable xyconvert because wxwidgets>=2.9 is needed (dev version) and it isn't standard with arch yet #--disable-xyconvert \ ./autogen.sh \ --prefix=/usr \ --without-doc \ --with-wx-prefix=${srcdir}/usr #./configure \ make } package() { cd fityk make DESTDIR=${pkgdir} install }