diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 14 insertions, 11 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Wed Apr 26 00:01:22 UTC 2017 +# Sat May 6 20:30:27 UTC 2017 pkgbase = qt5-accountsservice-git pkgdesc = Qt-style wrapper for Accounts Service - pkgver = 20170426.b8be73d + pkgver = 20170506.31442b4 pkgrel = 1 url = https://liri.io arch = i686 @@ -12,6 +12,7 @@ pkgbase = qt5-accountsservice-git groups = liri-git license = LGPL3 makedepends = git + makedepends = qbs depends = qt5-declarative provides = qt5-accountsservice conflicts = qtaccountsservice-git @@ -1,14 +1,14 @@ # Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> pkgname=qt5-accountsservice-git -pkgver=20170426.b8be73d +pkgver=20170506.31442b4 pkgrel=1 pkgdesc="Qt-style wrapper for Accounts Service" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url='https://liri.io' license=('LGPL3') depends=('qt5-declarative') -makedepends=('git') +makedepends=('git' 'qbs') conflicts=('qtaccountsservice-git' 'qt5-accountsservice') replaces=('qtaccountsservice-git' 'qt5-accountsservice') provides=('qt5-accountsservice') @@ -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}/qtaccountsservice.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 } |