summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2017-09-26 07:55:15 -0400
committerSolomon Choina2017-09-26 07:55:15 -0400
commitb6c2049773cbab05d9ced96d608512be1ffc1fc3 (patch)
treeef852eae0b1e7bd1c001030522e19d1e075e1f2b
parent23d64ab0ed420a44253036f783b2e5a38fa13d7e (diff)
downloadaur-b6c2049773cbab05d9ced96d608512be1ffc1fc3.tar.gz
changing from qmake to cmake
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD31
2 files changed, 20 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0307f95217..3bc6c406548 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Sep 6 03:25:54 UTC 2017
+# Tue Sep 26 11:54:50 UTC 2017
pkgbase = falkon-git
pkgdesc = Cross-platform Qt Web Browser
- pkgver = 2.1.2.r4422.d42b1ecf
+ pkgver = 2.1.99.r4444.02f7c68e
pkgrel = 1
url = http://www.qupzilla.com
arch = i686
@@ -12,6 +12,7 @@ pkgbase = falkon-git
makedepends = qt5-tools
makedepends = kwallet
makedepends = libgnome-keyring
+ makedepends = extra-cmake-modules
depends = qt5-webengine
depends = qt5-x11extras
depends = qt5-svg
diff --git a/PKGBUILD b/PKGBUILD
index ff6b8ebd9be..d75ed31dedc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,15 @@
pkgname=falkon-git
_pkgname=falkon
-pkgver=2.1.2.r4422.d42b1ecf
-_pkgver=2.1.2
+pkgver=2.1.99.r4444.02f7c68e
+_pkgver=2.1.99
pkgrel=1
-pkgdesc="Cross-platform Qt Web Browser "
+pkgdesc="Cross-platform Qt Web Browser"
arch=('i686' 'x86_64')
url="http://www.qupzilla.com"
license=('GPL')
depends=('qt5-webengine' 'qt5-x11extras' 'qt5-svg' 'hicolor-icon-theme' 'openssl>=1.1.0')
-makedepends=('git' 'qt5-tools' 'kwallet' 'libgnome-keyring')
+makedepends=('git' 'qt5-tools' 'kwallet' 'libgnome-keyring' 'extra-cmake-modules')
conflicts=('qupzilla' 'qupzilla-qt5' 'qupzilla-qt5-git' 'falkon')
optdepends=(
'bash-completion: bash completion support'
@@ -28,21 +28,24 @@ pkgver() {
printf "$_pkgver.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare(){
+ rm -rf "$srcdir/build"
+ mkdir "$srcdir/build"
+}
build() {
- cd "$_pkgname"
-
- export FALKON_PREFIX="/usr/"
- export KDE_INTEGRATION=true
- export GNOME_INTEGRATION=true
-
- qmake
+ cd "$srcdir/build"
+ cmake ../"$_pkgname" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DDISABLE_UPDATES_CHECK=ON
make
}
package() {
- cd "$_pkgname"
- make INSTALL_ROOT="$pkgdir/" install
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir/" install
# zsh completion
- install -Dm644 linux/completion/_falkon "$pkgdir/usr/share/zsh/site-functions/_falkon"
+ install -Dm644 $srcdir/$_pkgname/linux/completion/_falkon "$pkgdir/usr/share/zsh/site-functions/_falkon"
}