summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c0ed20395501..76f87187ba40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
pkgname=liri-files-git
-pkgver=20161009.0f9c0d5
+pkgver=20170516.3cdc319
pkgrel=1
pkgdesc="File manager for Liri OS"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='https://liri.io'
license=('GPL3')
depends=('fluid-git' 'taglib')
-makedepends=('git' 'extra-cmake-modules' 'qt5-tools')
+makedepends=('git' 'qbs' 'qt5-tools')
conflicts=('liri-files')
replaces=('liri-files')
provides=('liri-files')
@@ -26,20 +26,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
- 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 DESTDIR="${pkgdir}" install
+ cd ${srcdir}/${_gitname}
+ qbs install -d build --no-build -v --install-root $pkgdir/usr profile:qt5
}