diff options
author | nigeil | 2015-06-08 13:59:26 -0400 |
---|---|---|
committer | nigeil | 2015-06-08 13:59:26 -0400 |
commit | 281ccb9673a13dbcb6a1ff3aebb1a398f21f644d (patch) | |
tree | c546da09f1c84061ee3138b2449e295ddf5ae7e4 | |
parent | 151b8faaf0bff52ba41a2bae6c4cbf85ac9da805 (diff) | |
download | aur-281ccb9673a13dbcb6a1ff3aebb1a398f21f644d.tar.gz |
During the prepare step, search through all source files and rename -lqtscintilla2 to -lqt5scintilla2, due to Arch naming differences. Increases build time, but is easier to maintain than constantly watching the source.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rwxr-xr-x | PKGBUILD | 10 |
2 files changed, 7 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = sonic-pi-git pkgdesc = A music-centric programming environment, originally built for the raspberry pi. - pkgver = v2.3.0.r15.gabcd931 - pkgrel = 2 + pkgver = v2.5.0.r342.gdeb449e + pkgrel = 3 url = http://sonic-pi.net/ arch = i686 arch = x86_64 @@ -19,12 +19,10 @@ pkgbase = sonic-pi-git optdepends = qjackctl: for graphical jackd spawning/configuration optdepends = jack2: better jackd if you want to use without gui source = sonic-pi::git+https://github.com/samaaron/sonic-pi.git - source = Qt5scintilla2_archLib.patch source = launcher.sh source = sonic-pi-git.png source = sonic-pi-git.desktop md5sums = SKIP - md5sums = 68932f655fca2779a9e8a001d917ca6d md5sums = 9c6a820718f549d9c49dfb3d9a8b102e md5sums = ba86680be610cc3d6f12d4a89b0f434d md5sums = f283c44f25e1297008a34f42af3588bc @@ -1,7 +1,7 @@ # Maintainer: Nigel Michki <nigeil@yahoo.com> pkgname=sonic-pi-git -pkgver=v2.3.0.r15.gabcd931 -pkgrel=2 +pkgver=v2.5.0.r342.gdeb449e +pkgrel=3 pkgdesc="A music-centric programming environment, originally built for the raspberry pi." arch=('i686' 'x86_64') @@ -21,19 +21,19 @@ makedepends=('cmake' optdepends=('qjackctl: for graphical jackd spawning/configuration' 'jack2: better jackd if you want to use without gui') source=('sonic-pi::git+https://github.com/samaaron/sonic-pi.git' - 'Qt5scintilla2_archLib.patch' 'launcher.sh' 'sonic-pi-git.png' 'sonic-pi-git.desktop') md5sums=('SKIP' - '68932f655fca2779a9e8a001d917ca6d' '9c6a820718f549d9c49dfb3d9a8b102e' 'ba86680be610cc3d6f12d4a89b0f434d' 'f283c44f25e1297008a34f42af3588bc') prepare() { msg2 "Fix wrongly-named (on Arch) QT library" - patch -p1 $srcdir/sonic-pi/app/gui/qt/SonicPi.pro $srcdir/Qt5scintilla2_archLib.patch + cd $srcdir/sonic-pi + find . -type f -name "*" -exec sed -i 's/lqscintilla2/lqt5scintilla2/g' {} + + } build() { |