diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,14 +1,14 @@ # Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> pkgname=fluid-git -pkgver=20170426.6b1dd8c +pkgver=20170507.2d371a7 pkgrel=1 pkgdesc="Components for Qt Quick applications with Material Design and Universal" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url='https://liri.io' license=('MPL2') depends=('qt5-quickcontrols2' 'qt5-graphicaleffects' 'qt5-svg') -makedepends=('git' 'qt5-tools') +makedepends=('git' 'qbs' 'qt5-tools') conflicts=('fluid') replaces=('fluid') provides=('fluid') @@ -26,17 +26,19 @@ pkgver() { } prepare() { - mkdir -p build - pushd ${_gitname} && git submodule update --init && popd + cd ${srcdir}/${_gitname} + git submodule update --init } build() { - cd build - qmake LIRI_INSTALL_PREFIX=/usr CONFIG+=use_qt_paths ../${_gitname}/fluid.pro - 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 } package() { - cd build - make INSTALL_ROOT="${pkgdir}" install + cd ${srcdir}/${_gitname} + qbs install -d build --no-build -v --install-root $pkgdir/usr profile:qt5 } |