diff options
Diffstat (limited to 'community-testing/fityk')
-rw-r--r-- | community-testing/fityk/PKGBUILD | 47 | ||||
-rw-r--r-- | community-testing/fityk/fityk.install | 14 |
2 files changed, 61 insertions, 0 deletions
diff --git a/community-testing/fityk/PKGBUILD b/community-testing/fityk/PKGBUILD new file mode 100644 index 000000000..9c95247c7 --- /dev/null +++ b/community-testing/fityk/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Cuneyt Unlu <unlucu AT gmail.com> + +pkgname=fityk +pkgver=1.1.1 +pkgrel=4 +pkgdesc='A program for nonlinear fitting of analytical functions to data.' +arch=('i686' 'x86_64') +url='http://www.unipress.waw.pl/fityk/' +license=('GPL') +depends=('xylib' 'shared-mime-info' 'lua' 'gnuplot' 'desktop-file-utils') # wxgtk supplied by statically linked wxWidgets +makedepends=('boost' 'git' 'python-sphinx' 'swig' 'subversion') +options=('!libtool') +install='fityk.install' + +build() { + # daily snapshot because fityk requires a version that hasn't been released yet... + svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgets + + 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 +} diff --git a/community-testing/fityk/fityk.install b/community-testing/fityk/fityk.install new file mode 100644 index 000000000..df476d572 --- /dev/null +++ b/community-testing/fityk/fityk.install @@ -0,0 +1,14 @@ +post_install() { + update-mime-database /usr/share/mime + update-desktop-database -q +} + +post_upgrade() { + update-mime-database /usr/share/mime + update-desktop-database -q +} + +post_remove() { + update-mime-database /usr/share/mime + update-desktop-database -q +} |