summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlois Nešpor2015-08-30 08:16:49 +0200
committerAlois Nešpor2015-08-30 08:16:49 +0200
commitf522f6192dff6d87ab1d46a77a18c58f473223ab (patch)
treebd64e77fec5583dfea033202addde4850a5a1def
parent1e8cfe0823e32f21eedbc087c920dddc72b11f3f (diff)
downloadaur-f522f6192dff6d87ab1d46a77a18c58f473223ab.tar.gz
Update PKGBUILD to qt5
-rw-r--r--.SRCINFO2
-rwxr-xr-xPKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a01524b7390d..c2603e06d9c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = znotes
pkgdesc = Lightweight crossplatform application for notes managment with simple interface
pkgver = 0.4.5
- pkgrel = 6
+ pkgrel = 7
url = http://znotes.sourceforge.net
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 6d324966bd18..0abd347b7acb 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=znotes
pkgver=0.4.5
-pkgrel=6
+pkgrel=7
pkgdesc="Lightweight crossplatform application for notes managment with simple interface"
arch=('i686' 'x86_64')
url="http://znotes.sourceforge.net"
@@ -15,9 +15,8 @@ md5sums=('SKIP')
build() {
cd $srcdir/zNotes-master
- echo "QMAKE_CXXFLAGS_RELEASE = $CFLAGS" >> znotes.pro
- echo "QMAKE_CFLAGS_RELEASE = $CXXFLAGS" >> znotes.pro
- qmake-qt5 PREFIX=/usr
+ lrelease-qt5 znotes.pro
+ qmake-qt5 QMAKE_CFLAGS_RELEASE="$CPPFLAGS $CFLAGS" QMAKE_CXXFLAGS_RELEASE="$CPPFLAGS $CXXFLAGS" QMAKE_LFLAGS_RELEASE="$LDFLAGS" PREFIX=/usr
make
}