diff options
author | Pier Luigi Fiorini | 2017-05-14 21:13:48 +0200 |
---|---|---|
committer | Pier Luigi Fiorini | 2017-05-14 21:13:48 +0200 |
commit | b3fcb3feb1da5c0b4ed37a4a84e5024ac8c5bceb (patch) | |
tree | 835763dce2d6aa4180c1c62c3954b784b0390d65 /PKGBUILD | |
parent | b98aa4a5ac683265753cde780ccf31f4a540f9ed (diff) | |
download | aur-b3fcb3feb1da5c0b4ed37a4a84e5024ac8c5bceb.tar.gz |
Build with qbs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
@@ -7,10 +7,10 @@ pkgdesc="QtQuick and Wayland based shell for convergence" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url='https://liri.io' license=('GPL3') -depends=('qt5-tools' 'qt5-wayland' 'qt5-accountsservice-git' - 'pam' 'liri-wayland-git' 'vibe-git' 'liri-workspace-git') +depends=('qt5-tools' 'qt5-wayland' 'qt5-accountsservice-git' 'qt5-gsettings-git' + 'libqtxdg' 'pam' 'liri-wayland-git' 'libliri-git' 'liri-workspace-git') optdepends=('weston: nested mode support') -makedepends=('git' 'extra-cmake-modules') +makedepends=('git' 'qbs') conflicts=('hawaii-shell-git' 'papyros-shell-git' 'liri-shell') replaces=('hawaii-shell-git' 'papyros-shell-git' 'liri-shell') provides=('liri-shell') @@ -28,21 +28,19 @@ pkgver() { } prepare() { - mkdir -p build + cd ${srcdir}/${_gitname} + git submodule update --init } build() { - cd build - cmake ../${_gitname} \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE_INSTALL_LIBDIR=lib \ - -DKDE_INSTALL_LIBEXECDIR=lib \ - -DBUILD_HACK=ON - make + cd ${srcdir}/${_gitname} + qbs setup-toolchains --type gcc /usr/bin/g++ gcc + qbs setup-qt /usr/bin/qmake-qt5 qt5 + qbs config profiles.qt5.baseProfile gcc + qbs build --no-install -d build profile:qt5 qbs.installRoot:/usr lirideployment.qmlDir:lib/qt/qml lirideployment.pluginsDir:lib/qt/plugins } package() { - cd build - make DESTDIR="${pkgdir}" install + cd ${srcdir}/${_gitname} + qbs install -d build --no-build -v --install-root $pkgdir/usr profile:qt5 } |