diff options
author | oli | 2015-07-15 22:57:04 +0200 |
---|---|---|
committer | oli | 2015-07-15 22:57:04 +0200 |
commit | bf848a4ff460ed01515d9d71b4bf0f33cdbc123a (patch) | |
tree | fb9f6f9ed447387bb104e3aa1741f434affac18d /PKGBUILD | |
parent | b882c57c763899cf3038cd8a65cc97b5c893074e (diff) | |
download | aur-bf848a4ff460ed01515d9d71b4bf0f33cdbc123a.tar.gz |
updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Maintainer: Jozef Riha <jose1711 at gmail dot com> pkgname=brickv -pkgver=2.2.4 -pkgrel=3 +pkgver=2.2.5 +pkgrel=1 pkgdesc="brick viewer is a testing/flashing tool for tinkerforge brick(let)s" url="http://www.tinkerforge.com/" license=("GPL2") @@ -10,14 +10,17 @@ arch=('i686' 'x86_64' 'armv7h') depends=('pyqwt' 'python2-pyserial' 'brickd' 'python-pyqt4' 'python2-setuptools') optdepends=('brickd') source=(https://github.com/Tinkerforge/${pkgname}/archive/v${pkgver}.zip) -md5sums=('d04008b969411126bf1250eef2022549') +md5sums=('d972923d6d68643ac5a111deee38b8b9') build() { cd $srcdir/$pkgname-$pkgver/src/ + find . -type f -name '*py' -exec sed -i 's%/usr/bin/env python%&2%' '{}' \; + find . -type f -exec sed -i 's%pyuic4%python2-&%' '{}' \; + find . -type f -exec sed -i 's%system("python %system("python2 %' '{}' \; python2 setup.py config python2 setup.py build cd brickv/plugin_system/plugins - for i in */build_ui.py; do cd $(dirname $i); ./build_ui.py; cd ..; done + for i in */build_ui.py; do cd $(dirname $i); python2 ./build_ui.py; cd ..; done cd ../.. python2 ./build_ui.py } |