summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebmeister2017-02-04 10:31:25 +0100
committerwebmeister2017-02-04 10:31:25 +0100
commitccfba1bb20048c04b2cb54de89a59a3b4f15fea1 (patch)
treef5e98516825e8f2cb8c512d666a449c281e3ad8e
parentebe67a03fa62fd3733ce0ba5ccb309a1687e4d5c (diff)
downloadaur-ccfba1bb20048c04b2cb54de89a59a3b4f15fea1.tar.gz
Build last released version instead of Git branch
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 680713aabac..ba706b65587 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,12 +2,12 @@
# Wed Jul 20 09:35:05 UTC 2016
pkgbase = mu-editor
pkgdesc = A "micro" editor for MicroPython
- pkgver = latest
+ pkgver = 0.9.13
pkgrel = 1
- url = https://github.com/ntoll/mu
+ epoch = 1
+ url = https://codewith.mu/
arch = any
license = GPL3
- makedepends = git
makedepends = python-setuptools
depends = python
depends = python-pyqt5
@@ -16,8 +16,8 @@ pkgbase = mu-editor
depends = python-pyflakes
depends = python-pyserial
depends = qt5-serialport
- source = git+https://github.com/ntoll/mu
- sha256sums = SKIP
+ source = https://github.com/mu-editor/mu/archive/v0.9.13.tar.gz
+ sha256sums = 68361c59c24d700339e41fcab0726883ffa20d3f0937dbfc89d2f08e2515cf41
pkgname = mu-editor
diff --git a/PKGBUILD b/PKGBUILD
index 2ba833b6229..d1e766e2f6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,18 @@
pkgname=mu-editor
-pkgver=latest
+epoch=1
+pkgver=0.9.13
pkgrel=1
pkgdesc='A "micro" editor for MicroPython'
arch=('any')
-url='https://github.com/ntoll/mu'
+url='https://codewith.mu/'
license=('GPL3')
depends=('python' 'python-pyqt5' 'python-qscintilla-qt5' 'python-pycodestyle' 'python-pyflakes' 'python-pyserial' 'qt5-serialport')
-makedepends=('git' 'python-setuptools')
-source=('git+https://github.com/ntoll/mu')
-sha256sums=('SKIP')
-
-_gitname='mu'
+makedepends=('python-setuptools')
+source=("https://github.com/mu-editor/mu/archive/v$pkgver.tar.gz")
+sha256sums=('68361c59c24d700339e41fcab0726883ffa20d3f0937dbfc89d2f08e2515cf41')
package() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir/mu-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}