summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bcf2420119c..a31e062b028 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,24 @@
pkgname=python2-runsnakerun
+_name=RunSnakeRun
pkgver=2.0.4
-pkgrel=1
+pkgrel=2
pkgdesc="GUI Viewer for Python profiling runs"
arch=('any')
url="http://www.vrplumber.com/programming/runsnakerun/"
license=('BSD')
-depends=('python2-squaremap' 'wxpython2.8')
-source=("http://pypi.python.org/packages/source/R/RunSnakeRun/RunSnakeRun-$pkgver.tar.gz"
- "wx.patch")
+depends=('python2-squaremap' 'wxpython')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+md5sums=('3220b5b89994baee70b1c24d7e42a306')
+
build() {
cd "$srcdir/RunSnakeRun-$pkgver"
- msg "Patching source code..."
- patch -p0 < ${srcdir}/wx.patch
-
- msg "Building..."
python2 setup.py build
}
package() {
cd "$srcdir/RunSnakeRun-$pkgver"
- python2 setup.py install --root=$pkgdir/ --optimize=1
+ python2 setup.py install --root=$pkgdir/ --optimize=1 --skip-build
}
-
-md5sums=('3220b5b89994baee70b1c24d7e42a306'
- '6d00db360df47ae79f52e398bf23f845')