summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlfredo Ramos2016-06-03 23:34:10 -0500
committerAlfredo Ramos2016-06-03 23:34:10 -0500
commit09102146773cae880798fdbe56b9080eef0eca03 (patch)
tree56836827219b439f3cb4fe4092787399341f91c5 /PKGBUILD
parentbad495bbf36879c3dba7a25eaa8f98efa5ed2810 (diff)
downloadaur-09102146773cae880798fdbe56b9080eef0eca03.tar.gz
Add QMAKE_CFLAGS and QMAKE_CXXFLAGS qmake variables
- Remove j<n> make flag to respect MAKEFLAGS in makepkg.conf
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7a89f8b85c1..96824629c8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,14 @@
_pkgname=vokoscreen
pkgname=${_pkgname}-git
-pkgver=2.4.21.beta.3.gd2d38f3
-pkgrel=3
+pkgver=2.4.28.beta.0.g0760ab2
+pkgrel=1
pkgdesc='An easy to use screencast creator. Qt5 UI. Development version.'
arch=('i686' 'x86_64')
url='http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
license=('GPL2')
-depends=(
- 'qt5-x11extras' 'ffmpeg' 'lame'
- 'desktop-file-utils' 'xdg-utils' 'lsof'
-)
+depends=('qt5-x11extras' 'ffmpeg' 'lame' 'desktop-file-utils' 'xdg-utils' 'lsof')
optdepends=(
'pulseaudio-alsa: for PulseAudio support'
)
@@ -53,20 +50,14 @@ prepare() {
}
build() {
- # Number of jobs
- declare -i njobs=$(nproc)
-
- if [[ ${njobs} -ge 8 ]]; then
- njobs=$(( $njobs - 2 ))
- fi
-
# Building package
cd "${srcdir}"/build
qmake-qt5 ../${_pkgname} \
+ QMAKE_CFLAGS="${CFLAGS}" \
+ QMAKE_CXXFLAGS="${CXXFLAGS}" \
CONFIG+=release \
CONFIG+=c++14
-
- make -j${njobs}
+ make
}
package() {