summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f103b514806..5e609d90474 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,36 @@
# Maintainer: David Scholl <djscholl at gmail dot com>
pkgname=sofastats
-pkgver=1.4.6
+pkgver=1.5.3
pkgrel=2
pkgdesc="Statistics Open For All"
arch=('any')
url="http://www.sofastatistics.com/"
license=('custom')
-depends=('python2-xlwt' 'bash-completion' 'desktop-file-utils' 'ghostscript' 'hicolor-icon-theme' 'imagemagick' 'mysql-python' 'pdftk-bin' 'python2' 'pywebkitgtk' 'wkhtmltopdf' 'wxpython' 'python2-matplotlib' 'python2-numpy' 'python2-psycopg2' 'python2-requests' 'wxpython2.8')
+depends=('bash-completion' 'ghostscript'
+ 'imagemagick' 'mysql-python' 'pdftk'
+ 'python' 'wkhtmltopdf' 'wxpython'
+ 'python-matplotlib' 'python-numpy' 'python-psycopg2'
+ 'python-requests' 'python-wxpython')
makedepends=('python2-distribute')
replaces=('sofa')
-source=("http://heanet.dl.sourceforge.net/project/sofastatistics/sofastatistics/$pkgver/$pkgname-$pkgver.tar.gz" "setup.py" "sofastats.desktop")
-md5sums=('c39880daebead5247b78b6550cb4e2c4'
- '0d532fe665c66d8a2ff001db173bb84e'
+source=("http://downloads.sourceforge.net/project/sofastatistics/sofastatistics/$pkgver/$pkgname-$pkgver.tar.gz" "setup.py" "sofastats.desktop")
+md5sums=('efe9ab7978037e7d050e92a4daeaeebf'
+ '2b1183516a16275899a7ac40e792f4b7'
'f267ddd0371a29a3466bec780eda3fd6')
build() {
cd $srcdir/$pkgname-$pkgver
cp $srcdir/setup.py ./
touch sofa_main/__init__.py
- python2 setup.py build
+ python setup.py build
}
package() {
cd $srcdir/$pkgname-$pkgver
- python2 setup.py install --root=$pkgdir
+ python setup.py install --root=$pkgdir
echo "#!/bin/bash" > sofastats
echo "/usr/bin/env python2 "\
- "/usr/lib/python$(pacman -Q python2 | colrm 1 8 | colrm 4)/site-packages/sofastats/start.py "\
+ "/usr/lib/python$(pacman -Q python | colrm 1 8 | colrm 4)/site-packages/sofastats/start.py "\
>> sofastats
chmod a+x sofastats
install -D sofastats $pkgdir/usr/bin/sofastats