diff options
author | cthbleachbit | 2015-12-31 09:21:20 +0800 |
---|---|---|
committer | cthbleachbit | 2015-12-31 09:21:20 +0800 |
commit | 50f8a38f415d025589001d591589a367fb1d5d9f (patch) | |
tree | 110c68752cc2376af79728cbac771691c75fb11e | |
parent | b8848a27c46e77174be045550d6ab2afdda871f5 (diff) | |
download | aur-50f8a38f415d025589001d591589a367fb1d5d9f.tar.gz |
update CXXFLAGS
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Dec 30 12:32:09 UTC 2015 +# Thu Dec 31 01:21:07 UTC 2015 pkgbase = linthesia pkgdesc = A game of playing music. A fork of Synthesia pkgver = 0.4.3 - pkgrel = 2 + pkgrel = 3 url = http://linthesia.sourceforge.net/ arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=linthesia pkgver=0.4.3 -pkgrel=2 +pkgrel=3 pkgdesc="A game of playing music. A fork of Synthesia" arch=('i686' 'x86_64') url="http://linthesia.sourceforge.net/" @@ -14,7 +14,8 @@ sha256sums=('SKIP') build() { cd "$srcdir/code/src" - make GRAPHDIR="/usr/share/linthesia/graphics" CXX="g++ -std=gnu++11 -O" + sed -i Makefile -e "s/^CXXFLAGS = -I . -I libmidi -ggdb -Wall -ansi$/CXXFLAGS = -I . -I libmidi -ggdb -Wall -ansi -std=gnu++11 -std=c++11/g" + make GRAPHDIR="/usr/share/linthesia/graphics" cd "$srcdir/code/extra" sed "s/Exec=linthesia/Exec=\/usr\/games\/linthesia/g" linthesia.desktop > linthesia.desktop.new } |