summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Rogoża2016-09-24 23:07:15 +0200
committerPiotr Rogoża2016-09-24 23:07:15 +0200
commit589560640317af595759c59f637cf2824fc8b4f6 (patch)
tree93f7d99e512ed931d3e1e694f68e68bc50240961
parent8e6dd5ee5fd9e04adb2fad5e1743006d689ade78 (diff)
downloadaur-589560640317af595759c59f637cf2824fc8b4f6.tar.gz
Changed INCLDUEPATH depending on gcc version
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f14fb8116ff3..1eed6ae96fa9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Jun 13 21:38:36 UTC 2016
+# Sat Sep 24 21:07:10 UTC 2016
pkgbase = sqlitestudio
pkgdesc = Database manager for SQLite
pkgver = 3.1.0
- pkgrel = 1
+ pkgrel = 2
url = http://sqlitestudio.pl/
install = sqlitestudio.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 776f62a1892d..5af98c344218 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,8 @@ sqlitestudio-plugins
)
_pkgname=SQLiteStudio
pkgver=3.1.0
+pkgrel=2
_pkgver=3
-pkgrel=1
pkgdesc='Database manager for SQLite'
arch=(i686 x86_64)
url='http://sqlitestudio.pl/'
@@ -65,7 +65,8 @@ build(){
msg2 "Making sqlitestudio3-plugins"
cd "$srcdir"/output/build/Plugins
- qmake ../../../Plugins "INCLUDEPATH += /usr/include/c++/6.1.1" "INCLUDEPATH += $srcdir/SQLiteStudio3/coreSQLiteStudio"
+ GCC_VERSION=$(gcc -dumpversion)
+ qmake ../../../Plugins "INCLUDEPATH += /usr/include/c++/$GCC_VERSION" "INCLUDEPATH += $srcdir/SQLiteStudio3/coreSQLiteStudio"
(
cd $srcdir/Plugins/DbSqliteCipher
ln -sf $srcdir/SQLiteStudio3/coreSQLiteStudio/plugins