blob: d1da718d9b79a836663075907d91c7814fe47b5a (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Submitter: L.G. Sarmiento <lgsarmientop-ala-unal.edu.co>
pkgname=fityk-git
_pkgname=fityk
pkgver=r1641.3967c7e
pkgrel=1
pkgdesc="A program for nonlinear fitting of analytical functions to data."
url="http://fityk.nieto.pl/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('lua' 'wxgtk' 'xylib' 'ruby' 'python')
makedepends=('boost' 'desktop-file-utils' 'git' 'python2-sphinx' 'swig')
optdepends=('gnuplot: can be used with the CLI')
provides=("fityk")
options=('!libtool')
install="fityk.install"
source=($_pkgname::git+https://github.com/wojdyr/fityk.git
"fityk.install")
md5sums=('SKIP'
'0f2c2b78511036ea623a9568509bc987')
#_gitroot="http://github.com/wojdyr/fityk.git"
pkgver() {
cd ${srcdir}/$_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${srcdir}/$_pkgname
#it doesn't build with sphinx for python3
sed -i 's#sphinx-build#sphinx-build2#' doc/Makefile
./autogen.sh \
--prefix=/usr \
--with-wx-config=/usr/bin/wx-config
make || return 1
}
package() {
cd ${srcdir}/${_pkgname}
make DESTDIR=${pkgdir} install
}
|