summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcthbleachbit2015-12-31 09:21:20 +0800
committercthbleachbit2015-12-31 09:21:20 +0800
commit50f8a38f415d025589001d591589a367fb1d5d9f (patch)
tree110c68752cc2376af79728cbac771691c75fb11e
parentb8848a27c46e77174be045550d6ab2afdda871f5 (diff)
downloadaur-50f8a38f415d025589001d591589a367fb1d5d9f.tar.gz
update CXXFLAGS
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e9fa0734fde0..ff0ce90a6981 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 6523d6360a02..d01091ab6e88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}